-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
47 lines (38 loc) · 1.07 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[package]
name = "hyperhook"
version = "0.1.0"
edition = "2021"
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["winuser", "psapi", "libloaderapi", "errhandlingapi", "winbase", "processthreadsapi"] }
[dependencies]
config = { version="0.13.1", features = ["yaml"] }
once_cell = "1.18.0"
serde = "1.0.164"
log = "0.4.19"
simplelog = { version = "0.12.1", features = ["termcolor"] }
retour = { git = "https://github.com/Hpmason/retour-rs" }
document-features = "0.2"
[target.'cfg(unix)'.dependencies]
redhook = "2.0.0"
phdrs = { git = "https://github.com/softdevteam/phdrs" }
goblin = "0.8.0"
libc = "*"
nix = "0.26.2"
[dev-dependencies]
clap = { version = "4.0", features = ["derive"] }
[lib]
name = "hyperhook"
crate_type = ["dylib", "lib"]
[[example]]
name = "hook_example_windows"
crate-type = ["cdylib"]
[[example]]
name = "fuzz_example_unix"
crate-type = ["cdylib"]
[features]
default = ["pt", "kafl"]
#! # Feature Flags
## If set, HyperHook assumes the host supports Intel-PT
pt = []
## If set, HyperHook assumes that the host runs kAFL Kernel
kafl = []