Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
797 changes: 563 additions & 234 deletions fuzzers/binary_only/fuzzbench_fork_qemu/Cargo.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions fuzzers/binary_only/fuzzbench_fork_qemu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ libafl_targets = { path = "../../../crates/libafl_targets" }
log = { version = "0.4.22", features = ["release_max_level_info"] }
clap = { version = "4.5.18", features = ["default"] }
env_logger = "0.11.7"
mimalloc = "0.1.48"
scudo = "0.1.3"
8 changes: 8 additions & 0 deletions fuzzers/binary_only/fuzzbench_fork_qemu/src/fuzzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ use libafl_qemu::{
};
use libafl_targets::{CMPLOG_MAP_PTR, EDGES_MAP_DEFAULT_SIZE};

#[cfg(all(not(miri), debug_assertions))]
#[global_allocator]
static GLOBAL: scudo::GlobalScudoAllocator = scudo::GlobalScudoAllocator;

#[cfg(all(not(miri), not(debug_assertions)))]
#[global_allocator]
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;

/// The fuzzer main
pub fn main() {
// Registry the metadata types used in this fuzzer
Expand Down
Loading
Loading