
* Rework to put `ClientPerfStats` in `State` and pass that along. Still need to work on getting granular information from `Feedback` and `Observer` * Add perf_stats feature to libafl/Cargo.toml * Update feedbacks to have with_perf * Remove unneeeded print statement * cargo fmt all the things * use local llvmint vs cpu specific asm for reading cycle counter * Remove debug testing code * Stats timeout to 3 seconds * Inline smallish functions for ClientPerfStats * Remove .libs/llvmint and have the correct conditional compilation of link_llvm_intrinsics on the perf_stats feature * pub(crate) the NUM_FEEDBACK and NUM_STAGES consts * Tcp Broker to Broker Communication (#66) * initial b2b implementation * no_std and clippy fixes * b2b testcase added * more correct testcases * fixed b2b * typo * fixed unused warning * clippy fixes * fallback to systemtime on non-x86 * make clippy more strict * small fixes * bump 0.2.1 * readme Co-authored-by: ctfhacker <cld251@gmail.com> Co-authored-by: Dominik Maier <domenukk@gmail.com>
89 lines
3.1 KiB
TOML
89 lines
3.1 KiB
TOML
[package]
|
|
name = "libafl"
|
|
version = "0.2.1"
|
|
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
|
|
description = "Slot your own fuzzers together and extend their features using Rust"
|
|
documentation = "https://docs.rs/libafl"
|
|
repository = "https://github.com/AFLplusplus/LibAFL/"
|
|
readme = "../README.md"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["fuzzing", "testing", "security"]
|
|
edition = "2018"
|
|
build = "build.rs"
|
|
|
|
[build-dependencies]
|
|
rustc_version = "0.3.3"
|
|
|
|
[dev-dependencies]
|
|
criterion = "0.3" # Benchmarking
|
|
ahash = "0.6.1" # another hash
|
|
fxhash = "0.2.1" # yet another hash
|
|
xxhash-rust = { version = "0.8.0", features = ["const_xxh3", "xxh3"] } # xxh3 hashing for rust
|
|
serde_json = "1.0.60"
|
|
num_cpus = "1.0" # cpu count, for llmp example
|
|
|
|
[[bench]]
|
|
name = "rand_speeds"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "hash_speeds"
|
|
harness = false
|
|
|
|
#[profile.release]
|
|
#lto = true
|
|
#opt-level = 3
|
|
#debug = true
|
|
|
|
[features]
|
|
default = ["std", "anymap_debug", "derive", "llmp_compression"]
|
|
std = [] # print, sharedmap, ... support
|
|
anymap_debug = ["serde_json"] # uses serde_json to Debug the anymap trait. Disable for smaller footprint.
|
|
derive = ["libafl_derive"] # provide derive(SerdeAny) macro.
|
|
llmp_bind_public = [] # If set, llmp will bind to 0.0.0.0, allowing cross-device communication. Binds to localhost by default.
|
|
llmp_compression = [] # llmp compression using GZip
|
|
llmp_debug = ["backtrace"] # Enables debug output for LLMP
|
|
llmp_small_maps = [] # reduces initial map size for llmp
|
|
introspection = [] # Include performance statistics of the fuzzing pipeline
|
|
|
|
[[example]]
|
|
name = "llmp_test"
|
|
path = "./examples/llmp_test/main.rs"
|
|
required-features = ["std"]
|
|
|
|
[dependencies]
|
|
tuple_list = "0.1.2"
|
|
hashbrown = { version = "0.9", features = ["serde", "ahash-compile-time-rng"] } # A faster hashmap, nostd compatible
|
|
num = "0.4.0"
|
|
xxhash-rust = { version = "0.8.0", features = ["xxh3", "const_xxh3"] } # xxh3 hashing for rust
|
|
serde = { version = "1.0", default-features = false, features = ["alloc"] } # serialization lib
|
|
erased-serde = "0.3.12"
|
|
postcard = { version = "0.5.1", features = ["alloc"] } # no_std compatible serde serialization fromat
|
|
static_assertions = "1.1.0"
|
|
ctor = "0.1.20"
|
|
libafl_derive = { optional = true, path = "../libafl_derive", version = "0.2.1" }
|
|
serde_json = { version = "1.0", optional = true, default-features = false, features = ["alloc"] } # an easy way to debug print SerdeAnyMap
|
|
compression = { version = "0.1.5" }
|
|
num_enum = "0.5.1"
|
|
hostname = "^0.3" # Is there really no gethostname in the stdlib?
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
backtrace = { version = "0.3", optional = true, default-features = false, features = ["std", "libbacktrace"] } # for llmp_debug
|
|
|
|
[target.'cfg(not(target_os = "android"))'.dependencies]
|
|
backtrace = { version = "0.3", optional = true } # for llmp_debug
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2" # For (*nix) libc
|
|
nix = "0.20.0"
|
|
uds = "0.2.3"
|
|
lock_api = "0.4.3"
|
|
regex = "1.4.5"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows = "0.4.0"
|
|
uuid = { version = "0.8", features = ["v4"] }
|
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
windows = "0.4.0"
|