Update some deps, clippy (#1422)
* More less default * More clippy * updated rangemap * Clean up depencdencies * Undo accidental remove * Fix * trying to fix qemu build * hexagon be gone
This commit is contained in:
parent
b5774b2275
commit
b0179b4498
@ -18,7 +18,7 @@ debug = true
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0", features = ["parallel"] }
|
cc = { version = "1.0", features = ["parallel"] }
|
||||||
which = { version = "4.0.2" }
|
which = { version = "4.4" }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = { version = "4.0", features = ["derive"] }
|
clap = { version = "4.0", features = ["derive"] }
|
||||||
|
@ -19,7 +19,7 @@ debug = true
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0.42", features = ["parallel"] }
|
cc = { version = "1.0.42", features = ["parallel"] }
|
||||||
which = "4.1"
|
which = "4.4"
|
||||||
xz2 = "0.1.6"
|
xz2 = "0.1.6"
|
||||||
flate2 = "1.0.22"
|
flate2 = "1.0.22"
|
||||||
tar = "0.4.37"
|
tar = "0.4.37"
|
||||||
@ -35,7 +35,7 @@ libafl_targets = { path = "../../libafl_targets", features = ["sancov_cmplog"] }
|
|||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
libloading = "0.7"
|
libloading = "0.7"
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
rangemap = "1"
|
rangemap = "1.3"
|
||||||
clap = { version = "4.0", features = ["derive"] }
|
clap = { version = "4.0", features = ["derive"] }
|
||||||
serde = "1.0"
|
serde = "1.0"
|
||||||
mimalloc = { version = "*", default-features = false }
|
mimalloc = { version = "*", default-features = false }
|
||||||
|
@ -17,7 +17,7 @@ debug = true
|
|||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0.42", features = ["parallel"] }
|
cc = { version = "1.0.42", features = ["parallel"] }
|
||||||
num_cpus = "1.0"
|
num_cpus = "1.0"
|
||||||
which = "4.1"
|
which = "4.4"
|
||||||
xz2 = "0.1.6"
|
xz2 = "0.1.6"
|
||||||
flate2 = "1.0.22"
|
flate2 = "1.0.22"
|
||||||
tar = "0.4.37"
|
tar = "0.4.37"
|
||||||
|
@ -16,7 +16,7 @@ debug = true
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0.42", features = ["parallel"] }
|
cc = { version = "1.0.42", features = ["parallel"] }
|
||||||
which = "4.1"
|
which = "4.4"
|
||||||
xz2 = "0.1.6"
|
xz2 = "0.1.6"
|
||||||
flate2 = "1.0.22"
|
flate2 = "1.0.22"
|
||||||
tar = "0.4.37"
|
tar = "0.4.37"
|
||||||
|
@ -17,7 +17,7 @@ debug = true
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0", features = ["parallel"] }
|
cc = { version = "1.0", features = ["parallel"] }
|
||||||
which = { version = "4.0.2" }
|
which = "4.4"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../libafl/" }
|
libafl = { path = "../../libafl/" }
|
||||||
|
@ -12,7 +12,7 @@ debug = true
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0", features = ["parallel"] }
|
cc = { version = "1.0", features = ["parallel"] }
|
||||||
which = { version = "4.0.2" }
|
which = "4.4"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../libafl/" }
|
libafl = { path = "../../libafl/" }
|
||||||
|
@ -12,7 +12,7 @@ debug = true
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0", features = ["parallel"] }
|
cc = { version = "1.0", features = ["parallel"] }
|
||||||
which = { version = "4.0.2" }
|
which = "4.4"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../libafl/" }
|
libafl = { path = "../../libafl/" }
|
||||||
|
@ -17,7 +17,7 @@ debug = true
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0", features = ["parallel"] }
|
cc = { version = "1.0", features = ["parallel"] }
|
||||||
which = { version = "4.0.2" }
|
which = "4.4"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../libafl/" }
|
libafl = { path = "../../libafl/" }
|
||||||
|
@ -16,7 +16,7 @@ debug = true
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0", features = ["parallel"] }
|
cc = { version = "1.0", features = ["parallel"] }
|
||||||
which = { version = "4.0.2" }
|
which = "4.4"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../libafl/" }
|
libafl = { path = "../../libafl/" }
|
||||||
|
@ -18,7 +18,7 @@ debug = true
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0", features = ["parallel"] }
|
cc = { version = "1.0", features = ["parallel"] }
|
||||||
which = { version = "4.0.2" }
|
which = "4.4"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../libafl/", features = ["default"] }
|
libafl = { path = "../../libafl/", features = ["default"] }
|
||||||
|
@ -16,7 +16,7 @@ debug = true
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0", features = ["parallel"] }
|
cc = { version = "1.0", features = ["parallel"] }
|
||||||
which = { version = "4.0.2" }
|
which = "4.4"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../libafl/", features = ["std", "derive", "llmp_compression", "introspection"] }
|
libafl = { path = "../../libafl/", features = ["std", "derive", "llmp_compression", "introspection"] }
|
||||||
|
@ -16,7 +16,7 @@ debug = true
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0", features = ["parallel"] }
|
cc = { version = "1.0", features = ["parallel"] }
|
||||||
which = { version = "4.0.2" }
|
which = "4.4"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../libafl/", features = ["std", "derive", "rand_trait", "fork", "prelude", "gzip", "regex"] }
|
libafl = { path = "../../libafl/", features = ["std", "derive", "rand_trait", "fork", "prelude", "gzip", "regex"] }
|
||||||
|
@ -18,7 +18,7 @@ debug = true
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0", features = ["parallel"] }
|
cc = { version = "1.0", features = ["parallel"] }
|
||||||
which = { version = "4.0.2" }
|
which = "4.4"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../libafl/", features = ["default", "cmin"] }
|
libafl = { path = "../../libafl/", features = ["default", "cmin"] }
|
||||||
|
@ -16,7 +16,7 @@ debug = true
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0", features = ["parallel"] }
|
cc = { version = "1.0", features = ["parallel"] }
|
||||||
which = { version = "4.0.2" }
|
which = "4.4"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../libafl/", features = ["std", "derive", "llmp_compression", "introspection"] }
|
libafl = { path = "../../libafl/", features = ["std", "derive", "llmp_compression", "introspection"] }
|
||||||
|
@ -16,7 +16,7 @@ debug = true
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0", features = ["parallel"] }
|
cc = { version = "1.0", features = ["parallel"] }
|
||||||
which = { version = "4.0.2" }
|
which = "4.4"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../libafl/", features = ["std", "derive", "llmp_compression", "introspection"] }
|
libafl = { path = "../../libafl/", features = ["std", "derive", "llmp_compression", "introspection"] }
|
||||||
|
@ -16,7 +16,7 @@ debug = true
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0", features = ["parallel"] }
|
cc = { version = "1.0", features = ["parallel"] }
|
||||||
which = { version = "4.0.2" }
|
which = "4.4"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../libafl/" }
|
libafl = { path = "../../libafl/" }
|
||||||
|
@ -18,7 +18,7 @@ debug = true
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0", features = ["parallel"] }
|
cc = { version = "1.0", features = ["parallel"] }
|
||||||
which = { version = "4.0.2" }
|
which = "4.4"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../libafl/", features = ["default", "tcp_manager"] }
|
libafl = { path = "../../libafl/", features = ["default", "tcp_manager"] }
|
||||||
|
@ -16,7 +16,7 @@ debug = true
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0", features = ["parallel"] }
|
cc = { version = "1.0", features = ["parallel"] }
|
||||||
which = { version = "4.0.2" }
|
which = "4.4"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../libafl/" }
|
libafl = { path = "../../libafl/" }
|
||||||
|
@ -25,5 +25,5 @@ mimalloc = { version = "*", default-features = false }
|
|||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0", features = ["parallel"] }
|
cc = { version = "1.0", features = ["parallel"] }
|
||||||
cmake = "0.1"
|
cmake = "0.1"
|
||||||
which = "4.1"
|
which = "4.4"
|
||||||
symcc_libafl = {path = "../../../libafl_concolic/symcc_libafl"}
|
symcc_libafl = {path = "../../../libafl_concolic/symcc_libafl"}
|
||||||
|
@ -216,7 +216,7 @@ fn fuzz(
|
|||||||
// Create a concolic trace
|
// Create a concolic trace
|
||||||
ConcolicTracingStage::new(
|
ConcolicTracingStage::new(
|
||||||
TracingStage::new(
|
TracingStage::new(
|
||||||
MyCommandConfigurator::default().into_executor(tuple_list!(concolic_observer))
|
MyCommandConfigurator.into_executor(tuple_list!(concolic_observer))
|
||||||
),
|
),
|
||||||
concolic_observer_name,
|
concolic_observer_name,
|
||||||
),
|
),
|
||||||
|
@ -29,4 +29,4 @@ clap = { version = "4.3.0", features = ["derive", "string"]}
|
|||||||
libafl = { path = "../../libafl/" }
|
libafl = { path = "../../libafl/" }
|
||||||
libafl_bolts = { path = "../../libafl_bolts/" }
|
libafl_bolts = { path = "../../libafl_bolts/" }
|
||||||
libafl_qemu = { path = "../../libafl_qemu/", features = ["usermode"] }
|
libafl_qemu = { path = "../../libafl_qemu/", features = ["usermode"] }
|
||||||
rangemap = { version = "1.0.3" }
|
rangemap = { version = "1.3" }
|
||||||
|
@ -29,4 +29,4 @@ clap = { version = "4.3.0", features = ["derive", "string"]}
|
|||||||
libafl = { path = "../../libafl/" }
|
libafl = { path = "../../libafl/" }
|
||||||
libafl_bolts = { path = "../../libafl_bolts/" }
|
libafl_bolts = { path = "../../libafl_bolts/" }
|
||||||
libafl_qemu = { path = "../../libafl_qemu/", features = ["usermode"] }
|
libafl_qemu = { path = "../../libafl_qemu/", features = ["usermode"] }
|
||||||
rangemap = { version = "1.0.3" }
|
rangemap = { version = "1.3" }
|
||||||
|
@ -16,7 +16,7 @@ debug = true
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0", features = ["parallel"] }
|
cc = { version = "1.0", features = ["parallel"] }
|
||||||
which = { version = "4.0.2" }
|
which = "4.4"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../../libafl/", features = ["default", "rand_trait"] }
|
libafl = { path = "../../libafl/", features = ["default", "rand_trait"] }
|
||||||
|
@ -80,7 +80,7 @@ typed-builder = { version = "0.15.2", optional = true } # Implement the builder
|
|||||||
serde_json = { version = "1.0", optional = true, default-features = false, features = ["alloc"] }
|
serde_json = { version = "1.0", optional = true, default-features = false, features = ["alloc"] }
|
||||||
nix = { version = "0.26", optional = true }
|
nix = { version = "0.26", optional = true }
|
||||||
regex = { version = "1", optional = true }
|
regex = { version = "1", optional = true }
|
||||||
uuid = { version = "1.1.2", optional = true, features = ["serde", "v4"] }
|
uuid = { version = "1.4", optional = true, features = ["serde", "v4"] }
|
||||||
libm = "0.2.2"
|
libm = "0.2.2"
|
||||||
tui = { version = "0.19", default-features = false, features = ['crossterm'], optional = true } # Commandline rendering, for TUI Monitor
|
tui = { version = "0.19", default-features = false, features = ['crossterm'], optional = true } # Commandline rendering, for TUI Monitor
|
||||||
crossterm = { version = "0.25", optional = true }
|
crossterm = { version = "0.25", optional = true }
|
||||||
@ -89,7 +89,7 @@ prometheus-client = { version= "0.19", optional = true} # For the prometheus mon
|
|||||||
tide = { version = "0.16.0", optional = true }
|
tide = { version = "0.16.0", optional = true }
|
||||||
async-std = { version = "1.12.0", features = ["attributes"], optional = true }
|
async-std = { version = "1.12.0", features = ["attributes"], optional = true }
|
||||||
futures = { version = "0.3.24", optional = true }
|
futures = { version = "0.3.24", optional = true }
|
||||||
log = "0.4.18"
|
log = "0.4.20"
|
||||||
tokio = { version = "1.28.1", optional = true, features = ["sync", "net", "rt", "io-util", "macros"] } # only used for TCP Event Manager right now
|
tokio = { version = "1.28.1", optional = true, features = ["sync", "net", "rt", "io-util", "macros"] } # only used for TCP Event Manager right now
|
||||||
|
|
||||||
wait-timeout = { version = "0.2", optional = true } # used by CommandExecutor to wait for child process
|
wait-timeout = { version = "0.2", optional = true } # used by CommandExecutor to wait for child process
|
||||||
|
@ -13,7 +13,7 @@ categories = ["development-tools::testing", "emulators", "embedded", "os", "no-s
|
|||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["std", "derive", "llmp_compression", "llmp_small_maps", "rand_trait", "prelude", "gzip", "serdeany_autoreg", "alloc"]
|
default = ["std", "derive", "llmp_compression", "llmp_small_maps", "rand_trait", "prelude", "gzip", "serdeany_autoreg", "alloc"]
|
||||||
std = ["serde_json", "serde_json/std", "hostname", "nix", "serde/std", "once_cell", "uuid", "byteorder", "backtrace", "uds", "serial_test", "alloc"] # print, env, ... support
|
std = ["serde_json", "serde_json/std", "hostname", "nix", "serde/std", "uuid", "byteorder", "backtrace", "uds", "serial_test", "alloc"] # print, env, ... support
|
||||||
alloc = ["serde/alloc", "hashbrown", "postcard", "erased-serde/alloc", "ahash"] # Enables all features that allocate in no_std
|
alloc = ["serde/alloc", "hashbrown", "postcard", "erased-serde/alloc", "ahash"] # Enables all features that allocate in no_std
|
||||||
derive = ["libafl_derive"] # provide derive(SerdeAny) macro.
|
derive = ["libafl_derive"] # provide derive(SerdeAny) macro.
|
||||||
rand_trait = ["rand_core"] # If set, libafl's rand implementations will implement `rand::Rng`
|
rand_trait = ["rand_core"] # If set, libafl's rand implementations will implement `rand::Rng`
|
||||||
@ -51,7 +51,7 @@ xxhash-rust = { version = "0.8.5", features = ["xxh3"] } # xxh3 hashing for rust
|
|||||||
serde = { version = "1.0", default-features = false, features = ["derive"] } # serialization lib
|
serde = { version = "1.0", default-features = false, features = ["derive"] } # serialization lib
|
||||||
erased-serde = { version = "0.3.21", default-features = false, optional = true } # erased serde
|
erased-serde = { version = "0.3.21", default-features = false, optional = true } # erased serde
|
||||||
postcard = { version = "1.0", features = ["alloc"], optional = true } # no_std compatible serde serialization format
|
postcard = { version = "1.0", features = ["alloc"], optional = true } # no_std compatible serde serialization format
|
||||||
num_enum = { version = "0.5.7", default-features = false }
|
num_enum = { version = "0.6", default-features = false }
|
||||||
ahash = { version = "0.8", default-features=false, optional = true } # The hash function already used in hashbrown
|
ahash = { version = "0.8", default-features=false, optional = true } # The hash function already used in hashbrown
|
||||||
backtrace = {version = "0.3", optional = true} # Used to get the stacktrace in StacktraceObserver
|
backtrace = {version = "0.3", optional = true} # Used to get the stacktrace in StacktraceObserver
|
||||||
|
|
||||||
@ -61,11 +61,10 @@ miniz_oxide = { version = "0.7.1", optional = true}
|
|||||||
hostname = { version = "^0.3", optional = true } # Is there really no gethostname in the stdlib?
|
hostname = { version = "^0.3", optional = true } # Is there really no gethostname in the stdlib?
|
||||||
rand_core = { version = "0.6", optional = true }
|
rand_core = { version = "0.6", optional = true }
|
||||||
nix = { version = "0.26", optional = true }
|
nix = { version = "0.26", optional = true }
|
||||||
uuid = { version = "1.1.2", optional = true, features = ["serde", "v4"] }
|
uuid = { version = "1.4", optional = true, features = ["serde", "v4"] }
|
||||||
byteorder = { version = "1.4", optional = true }
|
byteorder = { version = "1.4", optional = true }
|
||||||
once_cell = { version = "1.13", optional = true }
|
|
||||||
clap = {version = "4.0", features = ["derive", "wrap_help"], optional = true} # CLI parsing, for libafl_bolts::cli / the `cli` feature
|
clap = {version = "4.0", features = ["derive", "wrap_help"], optional = true} # CLI parsing, for libafl_bolts::cli / the `cli` feature
|
||||||
log = "0.4.18"
|
log = "0.4.20"
|
||||||
|
|
||||||
pyo3 = { version = "0.18.3", optional = true, features = ["serde", "macros"] }
|
pyo3 = { version = "0.18.3", optional = true, features = ["serde", "macros"] }
|
||||||
|
|
||||||
|
@ -7,12 +7,12 @@ use std::{
|
|||||||
fs::File,
|
fs::File,
|
||||||
hash::{Hash, Hasher},
|
hash::{Hash, Hasher},
|
||||||
io,
|
io,
|
||||||
|
sync::OnceLock,
|
||||||
};
|
};
|
||||||
|
|
||||||
use once_cell::sync::Lazy;
|
|
||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
|
|
||||||
static BUILD_ID: Lazy<Uuid> = Lazy::new(calculate);
|
static BUILD_ID: OnceLock<Uuid> = OnceLock::new();
|
||||||
|
|
||||||
/// Returns a [Uuid] uniquely representing the build of the current binary.
|
/// Returns a [Uuid] uniquely representing the build of the current binary.
|
||||||
///
|
///
|
||||||
@ -48,7 +48,7 @@ static BUILD_ID: Lazy<Uuid> = Lazy::new(calculate);
|
|||||||
#[inline]
|
#[inline]
|
||||||
#[must_use]
|
#[must_use]
|
||||||
pub fn get() -> Uuid {
|
pub fn get() -> Uuid {
|
||||||
*BUILD_ID
|
*BUILD_ID.get_or_init(calculate)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn from_exe<H: Hasher>(mut hasher: H) -> Result<H, ()> {
|
fn from_exe<H: Hasher>(mut hasher: H) -> Result<H, ()> {
|
||||||
|
@ -790,7 +790,7 @@ fn write_minibsod<W: Write>(writer: &mut BufWriter<W>) -> Result<(), std::io::Er
|
|||||||
|
|
||||||
/// Generates a mini-BSOD given a signal and context.
|
/// Generates a mini-BSOD given a signal and context.
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
#[allow(clippy::non_ascii_literal)]
|
#[allow(clippy::non_ascii_literal, clippy::too_many_lines)]
|
||||||
pub fn generate_minibsod<W: Write>(
|
pub fn generate_minibsod<W: Write>(
|
||||||
writer: &mut BufWriter<W>,
|
writer: &mut BufWriter<W>,
|
||||||
signal: Signal,
|
signal: Signal,
|
||||||
|
@ -15,11 +15,11 @@ categories = ["development-tools::testing", "emulators", "embedded", "os", "no-s
|
|||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cc = { version = "1.0", features = ["parallel"] }
|
cc = { version = "1.0", features = ["parallel"] }
|
||||||
which = "4.2.5"
|
which = "4.4"
|
||||||
|
|
||||||
[target.'cfg(target_vendor = "apple")'.build-dependencies]
|
[target.'cfg(target_vendor = "apple")'.build-dependencies]
|
||||||
glob = "0.3"
|
glob = "0.3"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serde = { version = "1.0", default-features = false, features = ["alloc", "derive"] } # serialization lib
|
serde = { version = "1.0", default-features = false, features = ["alloc", "derive"] } # serialization lib
|
||||||
log = "0.4.17"
|
log = "0.4.20"
|
||||||
|
@ -19,6 +19,6 @@ build = ["which", "cmake"] # common functionality to build symcc
|
|||||||
clone = ["which"] # common functionality to check out the symcc repo using git
|
clone = ["which"] # common functionality to check out the symcc repo using git
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
which = { version = "4.2", optional = true }
|
which = { version = "4.4", optional = true }
|
||||||
cmake = { version = "0.1", optional = true }
|
cmake = { version = "0.1", optional = true }
|
||||||
log = "0.4.17"
|
log = "0.4.20"
|
||||||
|
@ -30,5 +30,5 @@ cmake = "0.1"
|
|||||||
bindgen = "0.63"
|
bindgen = "0.63"
|
||||||
regex = "1"
|
regex = "1"
|
||||||
lazy_static = "1.4"
|
lazy_static = "1.4"
|
||||||
which = "4.2"
|
which = "4.4"
|
||||||
symcc_libafl = { path = "../symcc_libafl", version = "0.10.1" }
|
symcc_libafl = { path = "../symcc_libafl", version = "0.10.1" }
|
||||||
|
@ -27,7 +27,7 @@ libafl_targets = { path = "../libafl_targets", version = "0.10.1", features = ["
|
|||||||
nix = "0.26"
|
nix = "0.26"
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
hashbrown = "0.14"
|
hashbrown = "0.14"
|
||||||
rangemap = "1.0"
|
rangemap = "1.3"
|
||||||
frida-gum-sys = { version = "0.4.1", features = [ "auto-download", "event-sink", "invocation-listener"] }
|
frida-gum-sys = { version = "0.4.1", features = [ "auto-download", "event-sink", "invocation-listener"] }
|
||||||
frida-gum = { version = "0.8.1", features = [ "auto-download", "event-sink", "invocation-listener"] }
|
frida-gum = { version = "0.8.1", features = [ "auto-download", "event-sink", "invocation-listener"] }
|
||||||
dynasmrt = "2"
|
dynasmrt = "2"
|
||||||
@ -39,7 +39,7 @@ backtrace = { version = "0.3", default-features = false, features = ["std", "ser
|
|||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
ahash = "0.8"
|
ahash = "0.8"
|
||||||
paste = "1.0"
|
paste = "1.0"
|
||||||
log = "0.4.17"
|
log = "0.4.20"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
serial_test = "1"
|
serial_test = "1"
|
||||||
|
@ -57,8 +57,8 @@ meminterval = "0.3"
|
|||||||
thread_local = "1.1.4"
|
thread_local = "1.1.4"
|
||||||
capstone = "0.11.0"
|
capstone = "0.11.0"
|
||||||
pyo3 = { version = "0.18.3", optional = true }
|
pyo3 = { version = "0.18.3", optional = true }
|
||||||
rangemap = "1.0"
|
rangemap = "1.3"
|
||||||
log = "0.4.17"
|
log = "0.4.20"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
pyo3-build-config = { version = "0.15", optional = true }
|
pyo3-build-config = { version = "0.15", optional = true }
|
||||||
|
@ -24,7 +24,7 @@ clippy = [] # special feature for clippy, don't use in normal projects§
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bindgen = "0.66"
|
bindgen = "0.66"
|
||||||
which = "4.2"
|
which = "4.4"
|
||||||
json = "0.12"
|
json = "0.12"
|
||||||
shell-words = "1.1"
|
shell-words = "1.1"
|
||||||
pkg-config = "0.3.26"
|
pkg-config = "0.3.26"
|
||||||
|
@ -90,7 +90,7 @@ impl crate::ArchExtras for crate::CPU {
|
|||||||
&self,
|
&self,
|
||||||
conv: CallingConvention,
|
conv: CallingConvention,
|
||||||
idx: i32,
|
idx: i32,
|
||||||
val: T,
|
_val: T,
|
||||||
) -> Result<(), String>
|
) -> Result<(), String>
|
||||||
where
|
where
|
||||||
T: Into<GuestReg>,
|
T: Into<GuestReg>,
|
||||||
|
@ -37,7 +37,7 @@ libafl_qemu = { path = "../libafl_qemu", version = "0.10.1" }
|
|||||||
|
|
||||||
typed-builder = "0.15.2" # Implement the builder pattern at compiletime
|
typed-builder = "0.15.2" # Implement the builder pattern at compiletime
|
||||||
pyo3 = { version = "0.18.3", optional = true }
|
pyo3 = { version = "0.18.3", optional = true }
|
||||||
log = "0.4.17"
|
log = "0.4.20"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "libafl_sugar"
|
name = "libafl_sugar"
|
||||||
|
@ -35,7 +35,9 @@ use libafl_bolts::{
|
|||||||
AsSlice,
|
AsSlice,
|
||||||
};
|
};
|
||||||
pub use libafl_qemu::emu::Emulator;
|
pub use libafl_qemu::emu::Emulator;
|
||||||
use libafl_qemu::{edges, QemuCmpLogHelper, QemuEdgeCoverageHelper, QemuExecutor, QemuHooks};
|
#[cfg(not(any(feature = "mips", feature = "hexagon")))]
|
||||||
|
use libafl_qemu::QemuCmpLogHelper;
|
||||||
|
use libafl_qemu::{edges, QemuEdgeCoverageHelper, QemuExecutor, QemuHooks};
|
||||||
use libafl_targets::{edges_map_mut_slice, CmpLogObserver};
|
use libafl_targets::{edges_map_mut_slice, CmpLogObserver};
|
||||||
use typed_builder::TypedBuilder;
|
use typed_builder::TypedBuilder;
|
||||||
|
|
||||||
@ -215,6 +217,7 @@ where
|
|||||||
emulator,
|
emulator,
|
||||||
tuple_list!(
|
tuple_list!(
|
||||||
QemuEdgeCoverageHelper::default(),
|
QemuEdgeCoverageHelper::default(),
|
||||||
|
#[cfg(not(any(cpu_target = "mips", cpu_target = "hexagon")))]
|
||||||
QemuCmpLogHelper::default(),
|
QemuCmpLogHelper::default(),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
@ -34,9 +34,9 @@ cc = { version = "1.0", features = ["parallel"] }
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
libafl = { path = "../libafl", version = "0.10.1", default-features = false, features = [] }
|
libafl = { path = "../libafl", version = "0.10.1", default-features = false, features = [] }
|
||||||
libafl_bolts = { path = "../libafl_bolts", version = "0.10.1", default-features = false, features = [] }
|
libafl_bolts = { path = "../libafl_bolts", version = "0.10.1", default-features = false, features = [] }
|
||||||
log = "0.4.17"
|
log = "0.4.20"
|
||||||
|
|
||||||
rangemap = "1.0"
|
rangemap = "1.3"
|
||||||
serde = { version = "1.0", default-features = false, features = ["alloc"] } # serialization lib
|
serde = { version = "1.0", default-features = false, features = ["alloc"] } # serialization lib
|
||||||
intervaltree = { version = "0.2.7", default-features = false, features = ["serde"], optional = true }
|
intervaltree = { version = "0.2.7", default-features = false, features = ["serde"], optional = true }
|
||||||
ahash = { version = "0.8.3", default-features = false, optional = true }
|
ahash = { version = "0.8.3", default-features = false, optional = true }
|
||||||
|
@ -22,7 +22,7 @@ libafl_bolts = { path = "../libafl_bolts", version = "0.10.1", features = [
|
|||||||
] }
|
] }
|
||||||
tinyinst = { git = "https://github.com/AFLplusplus/tinyinst-rs" }
|
tinyinst = { git = "https://github.com/AFLplusplus/tinyinst-rs" }
|
||||||
# tinyinst-rs = { path = "../../tinyinst-rs" }
|
# tinyinst-rs = { path = "../../tinyinst-rs" }
|
||||||
log = "0.4.17"
|
log = "0.4.20"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cmake = "0.1"
|
cmake = "0.1"
|
||||||
|
@ -14,7 +14,7 @@ categories = ["development-tools::testing", "emulators", "embedded", "os", "no-s
|
|||||||
# 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]
|
||||||
log = "0.4.17"
|
log = "0.4.20"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "deexit"
|
name = "deexit"
|
||||||
|
@ -21,4 +21,4 @@ postcard = "1.0"
|
|||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
libafl = { path = "../../../libafl" }
|
libafl = { path = "../../../libafl" }
|
||||||
clap = { version = "4.0", features = ["derive"] }
|
clap = { version = "4.0", features = ["derive"] }
|
||||||
log = "0.4.17"
|
log = "0.4.20"
|
||||||
|
@ -9,7 +9,7 @@ vergen = { version = "8.1.1", features = ["build", "cargo", "git", "gitcl", "rus
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = { version = "1.0.71", default-features = false }
|
anyhow = { version = "1.0.71", default-features = false }
|
||||||
clap = { version = "4.2.0", default-features = false, features = ["derive", "string", "std", "help", "derive", "error-context", "usage"] }
|
clap = { version = "4.2.0", default-features = false, features = ["derive", "string", "std", "help", "derive", "error-context", "usage"] }
|
||||||
log = { version = "0.4.19", default-features = false }
|
log = { version = "0.4.20", default-features = false }
|
||||||
nix = { version = "0.26.2", default-features = false, features = ["process", "personality"] }
|
nix = { version = "0.26.2", default-features = false, features = ["process", "personality"] }
|
||||||
readonly = { version = "0.2.8", default-features = false }
|
readonly = { version = "0.2.8", default-features = false }
|
||||||
simplelog = { version = "0.12.1", default-features = false }
|
simplelog = { version = "0.12.1", default-features = false }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user