This commit is contained in:
Andrea Fioraldi 2021-04-12 15:26:59 +02:00
parent 5846aa2292
commit 15917fa189
3 changed files with 9 additions and 3 deletions

View File

@ -26,7 +26,14 @@ pub struct CmpLogMap {
}
#[no_mangle]
pub static mut libafl_cmplog_map: CmpLogMap = CmpLogMap { headers: [CmpLogHeader {hits: 0, shape: 0, kind: 0}; CMPLOG_MAP_W], operands: [[CmpLogOperands(0, 0); CMPLOG_MAP_H]; CMPLOG_MAP_W] };
pub static mut libafl_cmplog_map: CmpLogMap = CmpLogMap {
headers: [CmpLogHeader {
hits: 0,
shape: 0,
kind: 0,
}; CMPLOG_MAP_W],
operands: [[CmpLogOperands(0, 0); CMPLOG_MAP_H]; CMPLOG_MAP_W],
};
pub use libafl_cmplog_map as CMPLOG_MAP;

View File

@ -19,4 +19,3 @@ pub use libfuzzer::*;
pub mod cmplog;
#[cfg(feature = "cmplog")]
pub use cmplog::*;