Make the map size larger for some of the example fuzzers (#1879)

This commit is contained in:
Dongjia "toka" Zhang 2024-02-23 17:19:00 +01:00 committed by GitHub
parent 19f5081bd8
commit 1dcfe8ef56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 3 additions and 6 deletions

View File

@ -30,7 +30,7 @@ use libafl_bolts::{
#[allow(clippy::similar_names)] #[allow(clippy::similar_names)]
pub fn main() { pub fn main() {
const MAP_SIZE: usize = 65536; const MAP_SIZE: usize = 2621440;
//Coverage map shared between observer and executor //Coverage map shared between observer and executor
#[cfg(target_vendor = "apple")] #[cfg(target_vendor = "apple")]

View File

@ -84,7 +84,7 @@ struct Opt {
#[allow(clippy::similar_names)] #[allow(clippy::similar_names)]
pub fn main() { pub fn main() {
const MAP_SIZE: usize = 65536; const MAP_SIZE: usize = 2621440;
let opt = Opt::parse(); let opt = Opt::parse();

View File

@ -84,7 +84,7 @@ struct Opt {
#[allow(clippy::similar_names)] #[allow(clippy::similar_names)]
pub fn main() { pub fn main() {
const MAP_SIZE: usize = 65536; const MAP_SIZE: usize = 2621440;
let opt = Opt::parse(); let opt = Opt::parse();

View File

@ -33,9 +33,6 @@ use typed_builder::TypedBuilder;
use crate::{CORPUS_CACHE_SIZE, DEFAULT_TIMEOUT_SECS}; use crate::{CORPUS_CACHE_SIZE, DEFAULT_TIMEOUT_SECS};
/// The default coverage map size to use for forkserver targets
pub const DEFAULT_MAP_SIZE: usize = 65536;
/// Creates a Forkserver-based fuzzer. /// Creates a Forkserver-based fuzzer.
#[derive(Debug, TypedBuilder)] #[derive(Debug, TypedBuilder)]
pub struct ForkserverBytesCoverageSugar<'a> { pub struct ForkserverBytesCoverageSugar<'a> {