Fixing the inconsistency btw #2012 and #2066 (#2074)

This commit is contained in:
mkravchik 2024-04-18 14:33:29 +03:00 committed by GitHub
parent 39c32d55e7
commit 2b18562b08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,7 @@ use libafl_bolts::{
tuples::{tuple_list, MatchName, Merge}, tuples::{tuple_list, MatchName, Merge},
AsMutSlice, Truncate, AsMutSlice, Truncate,
}; };
use libafl_targets::{EDGES_MAP_PTR, EDGES_MAP_SIZE}; use libafl_targets::{EDGES_MAP_PTR, EDGES_MAP_SIZE_IN_USE};
use nix::sys::signal::Signal; use nix::sys::signal::Signal;
/// The commandline args this fuzzer accepts /// The commandline args this fuzzer accepts
@ -86,7 +86,7 @@ struct Opt {
#[allow(clippy::similar_names)] #[allow(clippy::similar_names)]
pub fn main() { pub fn main() {
const MAP_SIZE: usize = EDGES_MAP_SIZE; //65536; const MAP_SIZE: usize = EDGES_MAP_SIZE_IN_USE; //65536;
let opt = Opt::parse(); let opt = Opt::parse();
let corpus_dirs: Vec<PathBuf> = [opt.in_dir].to_vec(); let corpus_dirs: Vec<PathBuf> = [opt.in_dir].to_vec();