Libafl workspace internal deps in workspace Cargo.toml (#2691)
* Add internal deps to workspace * libafl: use workspace internal deps * libafl_bolts: use workspace internal deps * 0.14.0 * use workspace internal deps
This commit is contained in:
parent
cef902caff
commit
eb2ac10d1e
27
Cargo.toml
27
Cargo.toml
@ -53,6 +53,33 @@ version = "0.14.0"
|
|||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
|
# Internal deps
|
||||||
|
libafl = { path = "./libafl", version = "0.14.0", default-features = false }
|
||||||
|
libafl_bolts = { path = "./libafl_bolts", version = "0.14.0", default-features = false }
|
||||||
|
libafl_cc = { path = "./libafl_cc", version = "0.14.0", default-features = false }
|
||||||
|
symcc_runtime = { path = "./libafl_concolic/symcc_runtime", version = "0.14.0", default-features = false }
|
||||||
|
symcc_libafl = { path = "./libafl_concolic/symcc_libafl", version = "0.14.0", default-features = false }
|
||||||
|
libafl_derive = { path = "./libafl_derive", version = "0.14.0", default-features = false }
|
||||||
|
libafl_frida = { path = "./libafl_frida", version = "0.14.0", default-features = false }
|
||||||
|
libafl_intelpt = { path = "./libafl_intelpt", version = "0.14.0", default-features = false }
|
||||||
|
libafl_libfuzzer = { path = "./libafl_libfuzzer", version = "0.14.0", default-features = false }
|
||||||
|
libafl_nyx = { path = "./libafl_nyx", version = "0.14.0", default-features = false }
|
||||||
|
libafl_targets = { path = "./libafl_targets", version = "0.14.0", default-features = false }
|
||||||
|
libafl_tinyinst = { path = "./libafl_tinyinst", version = "0.14.0", default-features = false }
|
||||||
|
libafl_qemu = { path = "./libafl_qemu", version = "0.14.0", default-features = false }
|
||||||
|
libafl_qemu_build = { path = "./libafl_qemu/libafl_qemu_build", version = "0.14.0", default-features = false }
|
||||||
|
libafl_qemu_sys = { path = "./libafl_qemu/libafl_qemu_sys", version = "0.14.0", default-features = false }
|
||||||
|
libafl_sugar = { path = "./libafl_sugar", version = "0.14.0", default-features = false }
|
||||||
|
dump_constraints = { path = "./libafl_concolic/test/dump_constraints", version = "0.14.0", default-features = false }
|
||||||
|
runtime_test = { path = "./libafl_concolic/test/runtime_test", version = "0.14.0", default-features = false }
|
||||||
|
build_and_test_fuzzers = { path = "./utils/build_and_test_fuzzers", version = "0.14.0", default-features = false }
|
||||||
|
deexit = { path = "./utils/deexit", version = "0.14.0", default-features = false }
|
||||||
|
drcov_utils = { path = "./utils/drcov_utils", version = "0.14.0", default-features = false }
|
||||||
|
construct_automata = { path = "./utils/gramatron/construct_automata", version = "0.14.0", default-features = false }
|
||||||
|
libafl_benches = { path = "./utils/libafl_benches", version = "0.14.0", default-features = false }
|
||||||
|
libafl_jumper = { path = "./utils/libafl_jumper", version = "0.14.0", default-features = false }
|
||||||
|
|
||||||
|
# External deps
|
||||||
ahash = { version = "0.8.11", default-features = false } # The hash function already used in hashbrown
|
ahash = { version = "0.8.11", default-features = false } # The hash function already used in hashbrown
|
||||||
arbitrary-int = "1.2.7" # arbitrary sized integers, useful in combination with bitfields (bitbybit crate)
|
arbitrary-int = "1.2.7" # arbitrary sized integers, useful in combination with bitfields (bitbybit crate)
|
||||||
backtrace = { version = "0.3.74", default-features = false } # Used to get the stacktrace in StacktraceObserver
|
backtrace = { version = "0.3.74", default-features = false } # Used to get the stacktrace in StacktraceObserver
|
||||||
|
@ -205,11 +205,9 @@ bytecount = "0.6.8"
|
|||||||
static_assertions = { workspace = true }
|
static_assertions = { workspace = true }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl_bolts = { version = "0.14.0", path = "../libafl_bolts", default-features = false, features = [
|
libafl_bolts = { workspace = true, features = ["alloc"] }
|
||||||
"alloc",
|
libafl_derive = { workspace = true, default-features = true, optional = true }
|
||||||
] }
|
libafl_intelpt = { workspace = true, default-features = true, optional = true }
|
||||||
libafl_derive = { version = "0.14.0", path = "../libafl_derive", optional = true }
|
|
||||||
libafl_intelpt = { version = "0.14.0", path = "../libafl_intelpt", optional = true }
|
|
||||||
|
|
||||||
rustversion = { workspace = true }
|
rustversion = { workspace = true }
|
||||||
tuple_list = { version = "0.1.3" }
|
tuple_list = { version = "0.1.3" }
|
||||||
|
@ -119,7 +119,7 @@ llmp_small_maps = ["alloc"]
|
|||||||
rustversion = { workspace = true }
|
rustversion = { workspace = true }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl_derive = { version = "0.14.0", optional = true, path = "../libafl_derive" }
|
libafl_derive = { workspace = true, default-features = true, optional = true }
|
||||||
static_assertions = { workspace = true }
|
static_assertions = { workspace = true }
|
||||||
|
|
||||||
tuple_list = { version = "0.1.3" }
|
tuple_list = { version = "0.1.3" }
|
||||||
|
@ -32,14 +32,8 @@ all-features = true
|
|||||||
no-cpp-runtime = []
|
no-cpp-runtime = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../libafl", version = "0.14.0", default-features = false, features = [
|
libafl = { workspace = true, features = ["std", "serdeany_autoreg"] }
|
||||||
"std",
|
libafl_bolts = { workspace = true, features = ["std", "serdeany_autoreg"] }
|
||||||
"serdeany_autoreg",
|
|
||||||
] }
|
|
||||||
libafl_bolts = { path = "../../libafl_bolts", version = "0.14.0", default-features = false, features = [
|
|
||||||
"std",
|
|
||||||
"serdeany_autoreg",
|
|
||||||
] }
|
|
||||||
|
|
||||||
unchecked_unwrap = "4.0.0"
|
unchecked_unwrap = "4.0.0"
|
||||||
ctor = "0.2.8"
|
ctor = "0.2.8"
|
||||||
@ -50,7 +44,7 @@ cmake = { workspace = true }
|
|||||||
bindgen = { workspace = true }
|
bindgen = { workspace = true }
|
||||||
regex = { workspace = true }
|
regex = { workspace = true }
|
||||||
which = { workspace = true }
|
which = { workspace = true }
|
||||||
symcc_libafl = { path = "../symcc_libafl", version = "0.14.0" }
|
symcc_libafl = { workspace = true, default-features = true, version = "0.14.0" }
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
@ -20,8 +20,8 @@ categories = [
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../../libafl" }
|
libafl = { workspace = true, default-features = true }
|
||||||
libafl_bolts = { path = "../../../libafl_bolts" }
|
libafl_bolts = { workspace = true, default-features = true }
|
||||||
clap = { workspace = true, features = ["derive"] }
|
clap = { workspace = true, features = ["derive"] }
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
@ -47,17 +47,9 @@ auto-download = ["frida-gum-sys/auto-download", "frida-gum/auto-download"]
|
|||||||
cc = { workspace = true, features = ["parallel"] }
|
cc = { workspace = true, features = ["parallel"] }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../libafl", default-features = false, version = "0.14.0", features = [
|
libafl = { workspace = true, features = ["std", "derive", "frida_cli"] }
|
||||||
"std",
|
libafl_bolts = { workspace = true, features = ["std", "derive", "frida_cli"] }
|
||||||
"derive",
|
libafl_targets = { workspace = true, default-features = true, features = [
|
||||||
"frida_cli",
|
|
||||||
] }
|
|
||||||
libafl_bolts = { path = "../libafl_bolts", version = "0.14.0", default-features = false, features = [
|
|
||||||
"std",
|
|
||||||
"derive",
|
|
||||||
"frida_cli",
|
|
||||||
] }
|
|
||||||
libafl_targets = { path = "../libafl_targets", version = "0.14.0", features = [
|
|
||||||
"std",
|
"std",
|
||||||
"sancov_cmplog",
|
"sancov_cmplog",
|
||||||
] }
|
] }
|
||||||
|
@ -30,7 +30,7 @@ proc-maps = "0.4.0"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
arbitrary-int = { workspace = true }
|
arbitrary-int = { workspace = true }
|
||||||
bitbybit = { workspace = true }
|
bitbybit = { workspace = true }
|
||||||
libafl_bolts = { version = "0.14.0", path = "../libafl_bolts", default-features = false }
|
libafl_bolts = { workspace = true }
|
||||||
libc = { workspace = true }
|
libc = { workspace = true }
|
||||||
libipt = { workspace = true, optional = true }
|
libipt = { workspace = true, optional = true }
|
||||||
log = { workspace = true }
|
log = { workspace = true }
|
||||||
|
@ -21,17 +21,17 @@ categories = [
|
|||||||
|
|
||||||
[target.'cfg(target_os = "linux")'.dependencies]
|
[target.'cfg(target_os = "linux")'.dependencies]
|
||||||
libnyx = { git = "https://github.com/nyx-fuzz/libnyx.git", rev = "ea6ceb994ab975b81aea0daaf64b92a3066c1e8d" }
|
libnyx = { git = "https://github.com/nyx-fuzz/libnyx.git", rev = "ea6ceb994ab975b81aea0daaf64b92a3066c1e8d" }
|
||||||
libafl = { path = "../libafl", version = "0.14.0", features = [
|
libafl = { workspace = true, default-features = true, features = [
|
||||||
"std",
|
"std",
|
||||||
"libafl_derive",
|
"libafl_derive",
|
||||||
"frida_cli",
|
"frida_cli",
|
||||||
] }
|
] }
|
||||||
libafl_bolts = { path = "../libafl_bolts", version = "0.14.0", features = [
|
libafl_bolts = { workspace = true, default-features = true, features = [
|
||||||
"std",
|
"std",
|
||||||
"libafl_derive",
|
"libafl_derive",
|
||||||
"frida_cli",
|
"frida_cli",
|
||||||
] }
|
] }
|
||||||
libafl_targets = { path = "../libafl_targets", version = "0.14.0", features = [
|
libafl_targets = { workspace = true, default-features = true, features = [
|
||||||
"std",
|
"std",
|
||||||
"sancov_cmplog",
|
"sancov_cmplog",
|
||||||
] }
|
] }
|
||||||
|
@ -88,18 +88,11 @@ shared = ["libafl_qemu_sys/shared"]
|
|||||||
clippy = ["libafl_qemu_sys/clippy"]
|
clippy = ["libafl_qemu_sys/clippy"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../libafl", version = "0.14.0", default-features = false, features = [
|
libafl = { workspace = true, features = ["std", "derive", "regex"] }
|
||||||
"std",
|
libafl_bolts = { workspace = true, features = ["std", "derive"] }
|
||||||
"derive",
|
libafl_targets = { workspace = true, default-features = true, version = "0.14.0" }
|
||||||
"regex",
|
libafl_qemu_sys = { workspace = true }
|
||||||
] }
|
libafl_derive = { workspace = true, default-features = true }
|
||||||
libafl_bolts = { path = "../libafl_bolts", version = "0.14.0", default-features = false, features = [
|
|
||||||
"std",
|
|
||||||
"derive",
|
|
||||||
] }
|
|
||||||
libafl_targets = { path = "../libafl_targets", version = "0.14.0" }
|
|
||||||
libafl_qemu_sys = { path = "./libafl_qemu_sys", version = "0.14.0", default-features = false }
|
|
||||||
libafl_derive = { path = "../libafl_derive", version = "0.14.0" }
|
|
||||||
|
|
||||||
serde = { workspace = true, default-features = false, features = [
|
serde = { workspace = true, default-features = false, features = [
|
||||||
"alloc",
|
"alloc",
|
||||||
@ -138,7 +131,7 @@ getset = "0.1.3"
|
|||||||
document-features = { workspace = true, optional = true }
|
document-features = { workspace = true, optional = true }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
libafl_qemu_build = { path = "./libafl_qemu_build", version = "0.14.0" }
|
libafl_qemu_build = { workspace = true, default-features = true, version = "0.14.0" }
|
||||||
pyo3-build-config = { version = "0.22.3", optional = true }
|
pyo3-build-config = { version = "0.22.3", optional = true }
|
||||||
rustversion = { workspace = true }
|
rustversion = { workspace = true }
|
||||||
bindgen = { workspace = true }
|
bindgen = { workspace = true }
|
||||||
|
@ -66,7 +66,7 @@ strum_macros = { workspace = true }
|
|||||||
pyo3 = { version = "0.22.3", optional = true }
|
pyo3 = { version = "0.22.3", optional = true }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
libafl_qemu_build = { path = "../libafl_qemu_build", version = "0.14.0" }
|
libafl_qemu_build = { workspace = true, default-features = true }
|
||||||
pyo3-build-config = { version = "0.22.3", optional = true }
|
pyo3-build-config = { version = "0.22.3", optional = true }
|
||||||
rustversion = { workspace = true }
|
rustversion = { workspace = true }
|
||||||
|
|
||||||
|
@ -60,9 +60,9 @@ riscv64 = ["libafl_qemu/riscv64"]
|
|||||||
pyo3-build-config = { version = "0.22.3", optional = true }
|
pyo3-build-config = { version = "0.22.3", optional = true }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../libafl", version = "0.14.0" }
|
libafl = { workspace = true, default-features = true }
|
||||||
libafl_bolts = { path = "../libafl_bolts", version = "0.14.0" }
|
libafl_bolts = { workspace = true, default-features = true }
|
||||||
libafl_targets = { path = "../libafl_targets", version = "0.14.0" }
|
libafl_targets = { workspace = true, default-features = true }
|
||||||
|
|
||||||
# Document all features of this crate (for `cargo doc`)
|
# Document all features of this crate (for `cargo doc`)
|
||||||
document-features = { workspace = true, optional = true }
|
document-features = { workspace = true, optional = true }
|
||||||
@ -72,7 +72,7 @@ pyo3 = { version = "0.22.3", optional = true }
|
|||||||
log = { workspace = true }
|
log = { workspace = true }
|
||||||
|
|
||||||
[target.'cfg(target_os = "linux")'.dependencies]
|
[target.'cfg(target_os = "linux")'.dependencies]
|
||||||
libafl_qemu = { path = "../libafl_qemu", version = "0.14.0" }
|
libafl_qemu = { workspace = true, default-features = true }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "libafl_sugar"
|
name = "libafl_sugar"
|
||||||
|
@ -70,10 +70,8 @@ cc = { version = "1.1.21", features = ["parallel"] }
|
|||||||
rustversion = "1.0.17"
|
rustversion = "1.0.17"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../libafl", version = "0.14.0", default-features = false, features = [
|
libafl = { workspace = true, features = [] }
|
||||||
] }
|
libafl_bolts = { workspace = true, features = [] }
|
||||||
libafl_bolts = { path = "../libafl_bolts", version = "0.14.0", default-features = false, features = [
|
|
||||||
] }
|
|
||||||
libc = { workspace = true }
|
libc = { workspace = true }
|
||||||
hashbrown = { workspace = true, default-features = true }
|
hashbrown = { workspace = true, default-features = true }
|
||||||
once_cell = "1.19.0"
|
once_cell = "1.19.0"
|
||||||
|
@ -21,11 +21,11 @@ description = "TinyInst backend for libafl"
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../libafl", version = "0.14.0", features = [
|
libafl = { workspace = true, default-features = true, features = [
|
||||||
"std",
|
"std",
|
||||||
"libafl_derive",
|
"libafl_derive",
|
||||||
] }
|
] }
|
||||||
libafl_bolts = { path = "../libafl_bolts", version = "0.14.0", features = [
|
libafl_bolts = { workspace = true, default-features = true, features = [
|
||||||
"std",
|
"std",
|
||||||
"libafl_derive",
|
"libafl_derive",
|
||||||
] }
|
] }
|
||||||
|
@ -9,7 +9,7 @@ categories = ["development-tools"]
|
|||||||
keywords = ["fuzzing", "libafl", "drcov"]
|
keywords = ["fuzzing", "libafl", "drcov"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl_targets = { path = "../../libafl_targets" }
|
libafl_targets = { workspace = true, default-features = true }
|
||||||
clap = { workspace = true, features = ["derive", "wrap_help"] }
|
clap = { workspace = true, features = ["derive", "wrap_help"] }
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
@ -24,7 +24,7 @@ categories = [
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../../libafl", default-features = false }
|
libafl = { workspace = true }
|
||||||
serde_json = { workspace = true, default-features = true }
|
serde_json = { workspace = true, default-features = true }
|
||||||
regex = { workspace = true }
|
regex = { workspace = true }
|
||||||
postcard = { workspace = true, features = [
|
postcard = { workspace = true, features = [
|
||||||
|
@ -21,10 +21,7 @@ categories = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
libafl_bolts = { path = "../../libafl_bolts", default-features = false, features = [
|
libafl_bolts = { workspace = true, features = ["xxh3", "alloc"] } # libafl_bolts
|
||||||
"xxh3",
|
|
||||||
"alloc",
|
|
||||||
] } # libafl_bolts
|
|
||||||
|
|
||||||
criterion = "0.5.1" # Benchmarking
|
criterion = "0.5.1" # Benchmarking
|
||||||
ahash = { workspace = true, default-features = false } # The hash function already used in hashbrown
|
ahash = { workspace = true, default-features = false } # The hash function already used in hashbrown
|
||||||
|
Loading…
x
Reference in New Issue
Block a user