Allow testcase removal during fuzz loop (#1717)
This commit is contained in:
parent
6a0ba7b647
commit
e117b7199c
@ -632,11 +632,12 @@ where
|
||||
state.introspection_monitor_mut().mark_manager_time();
|
||||
|
||||
{
|
||||
let mut testcase = state.testcase_mut(idx)?;
|
||||
if let Ok(mut testcase) = state.testcase_mut(idx) {
|
||||
let scheduled_count = testcase.scheduled_count();
|
||||
// increase scheduled count, this was fuzz_level in afl
|
||||
testcase.set_scheduled_count(scheduled_count + 1);
|
||||
}
|
||||
}
|
||||
|
||||
state.clear_corpus_idx()?;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user