Remove unused dependencies (#2221)
* Remove unused dependencies * Add guard
This commit is contained in:
parent
2e5e2056b2
commit
30f65512d8
@ -17,14 +17,6 @@ codegen-units = 1
|
|||||||
opt-level = 3
|
opt-level = 3
|
||||||
debug = true
|
debug = true
|
||||||
|
|
||||||
[build-dependencies]
|
|
||||||
cc = { version = "1.0.42", features = ["parallel"] }
|
|
||||||
which = "4.4"
|
|
||||||
xz2 = "0.1.6"
|
|
||||||
flate2 = "1.0.22"
|
|
||||||
tar = "0.4.37"
|
|
||||||
reqwest = { version = "0.11.4", features = ["blocking"] }
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../libafl/", features = [ "std", "llmp_compression", "llmp_bind_public", "frida_cli" ] } #, "llmp_small_maps", "llmp_debug"]}
|
libafl = { path = "../../libafl/", features = [ "std", "llmp_compression", "llmp_bind_public", "frida_cli" ] } #, "llmp_small_maps", "llmp_debug"]}
|
||||||
libafl_bolts = { path = "../../libafl_bolts/" }
|
libafl_bolts = { path = "../../libafl_bolts/" }
|
||||||
|
@ -14,15 +14,6 @@ codegen-units = 1
|
|||||||
opt-level = 3
|
opt-level = 3
|
||||||
debug = true
|
debug = true
|
||||||
|
|
||||||
[build-dependencies]
|
|
||||||
cc = { version = "1.0.42", features = ["parallel"] }
|
|
||||||
num_cpus = "1.0"
|
|
||||||
which = "4.4"
|
|
||||||
xz2 = "0.1.6"
|
|
||||||
flate2 = "1.0.22"
|
|
||||||
tar = "0.4.37"
|
|
||||||
reqwest = { version = "0.11.4", features = ["blocking"] }
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../libafl/", features = [ "std", "llmp_compression",
|
libafl = { path = "../../libafl/", features = [ "std", "llmp_compression",
|
||||||
"llmp_bind_public", "frida_cli", "errors_backtrace" ] } #, "llmp_small_maps", "llmp_debug"]}
|
"llmp_bind_public", "frida_cli", "errors_backtrace" ] } #, "llmp_small_maps", "llmp_debug"]}
|
||||||
|
@ -14,17 +14,6 @@ codegen-units = 1
|
|||||||
opt-level = 3
|
opt-level = 3
|
||||||
debug = true
|
debug = true
|
||||||
|
|
||||||
[build-dependencies]
|
|
||||||
cc = { version = "1.0.42", features = ["parallel"] }
|
|
||||||
which = "4.4"
|
|
||||||
xz2 = "0.1.6"
|
|
||||||
flate2 = "1.0.22"
|
|
||||||
tar = "0.4.37"
|
|
||||||
reqwest = { version = "0.11.4", features = ["blocking"] }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../libafl/", features = [ "std", "llmp_compression",
|
libafl = { path = "../../libafl/", features = [ "std", "llmp_compression",
|
||||||
"llmp_bind_public", "frida_cli", "errors_backtrace" ] } #, "llmp_small_maps", "llmp_debug"]}
|
"llmp_bind_public", "frida_cli", "errors_backtrace" ] } #, "llmp_small_maps", "llmp_debug"]}
|
||||||
|
@ -83,7 +83,7 @@ concolic_mutation = ["z3"]
|
|||||||
tui_monitor = ["ratatui", "crossterm"]
|
tui_monitor = ["ratatui", "crossterm"]
|
||||||
|
|
||||||
## Enables `StringClassificationStage` and associated mutators, which allow for mutations which preserve the Unicode property data
|
## Enables `StringClassificationStage` and associated mutators, which allow for mutations which preserve the Unicode property data
|
||||||
unicode = ["libafl_bolts/alloc", "ahash/std", "serde/rc", "bitvec", "reqwest", "zip"]
|
unicode = ["libafl_bolts/alloc", "ahash/std", "serde/rc", "bitvec"]
|
||||||
|
|
||||||
## Enable multi-part input formats and mutators
|
## Enable multi-part input formats and mutators
|
||||||
multipart_inputs = ["arrayvec", "rand_trait"]
|
multipart_inputs = ["arrayvec", "rand_trait"]
|
||||||
@ -136,9 +136,7 @@ agpl = ["nautilus"]
|
|||||||
nautilus = ["grammartec", "std", "serde_json/std"]
|
nautilus = ["grammartec", "std", "serde_json/std"]
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
reqwest = { version = "0.12", features = ["blocking"], optional = true }
|
|
||||||
rustversion = "1.0"
|
rustversion = "1.0"
|
||||||
zip = { version = "0.6", optional = true }
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
|
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
use frida_gum::instruction_writer::Aarch64Register;
|
use frida_gum::instruction_writer::Aarch64Register;
|
||||||
#[cfg(target_arch = "x86_64")]
|
#[cfg(target_arch = "x86_64")]
|
||||||
use frida_gum::{instruction_writer::X86Register, CpuContext};
|
use frida_gum::{instruction_writer::X86Register, CpuContext};
|
||||||
|
#[cfg(target_arch = "x86_64")]
|
||||||
use libafl::Error;
|
use libafl::Error;
|
||||||
#[cfg(target_arch = "aarch64")]
|
#[cfg(target_arch = "aarch64")]
|
||||||
use num_traits::cast::FromPrimitive;
|
use num_traits::cast::FromPrimitive;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user