fix lto cmplog instability
MODIFY
src/afl-fuzz-run.c
src/afl-fuzz-run.c
@@ -296,11 +296,11 @@ static void write_with_gap(afl_state_t *afl, u8 *mem, u32 len, u32 skip_at,
u8 calibrate_case(afl_state_t *afl, struct queue_entry *q, u8 *use_mem,
u32 handicap, u8 from_queue) {
+ if (unlikely(afl->shm.cmplog_mode)) { q->exec_cksum = 0; }
+
u8 fault = 0, new_bits = 0, var_detected = 0, hnb = 0,
first_run = (q->exec_cksum == 0);
-
u64 start_us, stop_us;
-
s32 old_sc = afl->stage_cur, old_sm = afl->stage_max;
u32 use_tmout = afl->fsrv.exec_tmout;
u8 *old_sn = afl->stage_name;

fix lto cmplog instability