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