Make the map size larger for some of the example fuzzers (#1879)
This commit is contained in:
parent
19f5081bd8
commit
1dcfe8ef56
@ -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")]
|
||||||
|
@ -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();
|
||||||
|
|
||||||
|
@ -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();
|
||||||
|
|
||||||
|
@ -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> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user