From 907c054142ce7c72a0050ac3963d82a59c5e4f0a Mon Sep 17 00:00:00 2001 From: Andrea Fioraldi Date: Fri, 19 Jul 2019 17:56:52 +0200 Subject: this closes #23 --- afl-fuzz.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'afl-fuzz.c') diff --git a/afl-fuzz.c b/afl-fuzz.c index 1b5ccba5..422260ef 100644 --- a/afl-fuzz.c +++ b/afl-fuzz.c @@ -8845,6 +8845,14 @@ static u8 pilot_fuzzing(char** argv) { } new_hit_cnt = queued_paths + unique_crashes; + + if (!splice_cycle) { + stage_finds[STAGE_HAVOC] += new_hit_cnt - orig_hit_cnt; + stage_cycles[STAGE_HAVOC] += stage_max; + } else { + stage_finds[STAGE_SPLICE] += new_hit_cnt - orig_hit_cnt; + stage_cycles[STAGE_SPLICE] += stage_max; + } #ifndef IGNORE_FINDS -- cgit 1.4.1