mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-19 04:58:08 +00:00
correct counting for tmouts
This commit is contained in:
@ -611,7 +611,6 @@ save_if_interesting(afl_state_t *afl, void *mem, u32 len, u8 fault) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
++afl->saved_tmouts;
|
|
||||||
is_timeout = 0x80;
|
is_timeout = 0x80;
|
||||||
#ifdef INTROSPECTION
|
#ifdef INTROSPECTION
|
||||||
if (afl->custom_mutators_count && afl->current_custom_fuzz) {
|
if (afl->custom_mutators_count && afl->current_custom_fuzz) {
|
||||||
@ -665,6 +664,7 @@ save_if_interesting(afl_state_t *afl, void *mem, u32 len, u8 fault) {
|
|||||||
|
|
||||||
if (afl->stop_soon || new_fault != FSRV_RUN_TMOUT) {
|
if (afl->stop_soon || new_fault != FSRV_RUN_TMOUT) {
|
||||||
|
|
||||||
|
++afl->saved_tmouts;
|
||||||
goto save_to_queue;
|
goto save_to_queue;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user