-
-
Notifications
You must be signed in to change notification settings - Fork 481
Expand file tree
/
Copy pathCargo.toml.template
More file actions
89 lines (80 loc) · 2.21 KB
/
Copy pathCargo.toml.template
File metadata and controls
89 lines (80 loc) · 2.21 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[package]
name = "libafl_libfuzzer_runtime"
version = "0.16.0"
edition = "2024"
publish = false
[features]
default = ["interceptors"]
## Enables forking mode for the LibAFL launcher (instead of starting new processes)
fork = ["libafl/fork"]
track_hit_feedbacks = [
"libafl/track_hit_feedbacks",
"libafl_targets/track_hit_feedbacks",
]
tui_monitor = ["libafl/tui_monitor"]
interceptors = ["libafl_targets/libfuzzer_interceptors"]
no_link_main = ["libafl_targets/libfuzzer_no_link_main"]
[target.'cfg(not(windows))'.features]
## Enable the `fork` feature on non-windows platforms
default = ["fork", "tui_monitor"]
[profile.release]
lto = true
codegen-units = 1
opt-level = 3
debug = true
# debug-free release profile for fuzzbench due to space restrictions
[profile.release-fuzzbench]
inherits = "release"
debug = false
strip = true
[lib]
name = "afl_libfuzzer_runtime" # historically, cargo-fuzz strips double-prefixes; maintain compat
crate-type = ["staticlib", "rlib"]
[dependencies]
libafl = { path = "../libafl", default-features = false, features = [
"std",
"derive",
"llmp_compression",
"rand_trait",
"regex",
"errors_backtrace",
"serdeany_autoreg",
"unicode",
] }
libafl_bolts = { path = "../libafl_bolts", default-features = false, features = [
"std",
"derive",
"llmp_compression",
"rand_trait",
"serdeany_autoreg",
"errors_backtrace",
] }
libafl_targets = { path = "../libafl_targets", features = [
"sancov_8bit",
"sancov_cmplog",
"sancov_value_profile",
"sancov_pcguard",
"libfuzzer",
"libfuzzer_oom",
"libfuzzer_define_run_driver",
"sanitizers_flags",
"whole_archive",
"sanitizer_interfaces",
] }
libc = "0.2.159"
log = { version = "0.4.22", features = ["release_max_level_info"] }
mimalloc = { version = "0.1.43", default-features = false }
num-traits = { version = "0.2.19", default-features = true }
rand = "0.10.1"
serde = { version = "1.0.228", default-features = true, features = [
"derive",
] } # serialization lib
hashbrown = { version = "0.16.0", default-features = true, features = [
"serde",
] }
# for identifying if we can grimoire-ify
utf8-chars = "3.0.4"
env_logger = "0.11.5"
[build-dependencies]
bindgen = "0.71.1"
cc = { version = "1.1.22", features = ["parallel"] }