less executions on variable paths

This commit is contained in:
vanhauser-thc
2021-05-25 09:08:31 +02:00
parent 909e43fd55
commit 109383f438
3 changed files with 5 additions and 3 deletions

View File

@ -410,7 +410,7 @@ u8 calibrate_case(afl_state_t *afl, struct queue_entry *q, u8 *use_mem,
}
var_detected = 1;
afl->stage_max = CAL_CYCLES_LONG;
afl->stage_max = afl->fast_cal ? CAL_CYCLES : CAL_CYCLES_LONG;
} else {