Error message in most likely case of using NONASAN and ASAN fuzzers using the same Fuzzer config (#329)
* Error message in most likely case of using NONASAN and ASAN fuzzers using the same Fuzzer config * Typo * Changed to panic. Executed cargo fmt
This commit is contained in:
parent
0a1e8be256
commit
d71f0cf5bf
@ -242,7 +242,10 @@ where
|
||||
.match_name_mut::<MapFeedbackState<T>>(&self.name)
|
||||
.unwrap();
|
||||
|
||||
assert!(size <= map_state.history_map.len());
|
||||
if size <= map_state.history_map.len() {
|
||||
panic!("Could be a bug or are you using the same coverage map for NONASAN and ASAN fuzzers? Adjust to use different coverage map for each different config");
|
||||
}
|
||||
|
||||
assert!(size <= observer.map().len());
|
||||
|
||||
if self.novelties.is_some() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user