diff options
author | Dominik Maier <domenukk@gmail.com> | 2020-04-14 19:27:25 +0200 |
---|---|---|
committer | Dominik Maier <domenukk@gmail.com> | 2020-04-14 19:27:25 +0200 |
commit | 6dc36f1e6e7d2d781cc6b14f2898b3f7021e1d06 (patch) | |
tree | 1f46a247e84b0733935565b1513b6f2bdd4d797b /src/afl-fuzz-redqueen.c | |
parent | f4436f118c7a828e37926b948e997d1c8f5b2b03 (diff) | |
download | afl++-6dc36f1e6e7d2d781cc6b14f2898b3f7021e1d06.tar.gz |
unified forkservered run_target, fixes #308
Diffstat (limited to 'src/afl-fuzz-redqueen.c')
-rw-r--r-- | src/afl-fuzz-redqueen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afl-fuzz-redqueen.c b/src/afl-fuzz-redqueen.c index 6a01ec89..8cea01e8 100644 --- a/src/afl-fuzz-redqueen.c +++ b/src/afl-fuzz-redqueen.c @@ -622,7 +622,7 @@ u8 input_to_state_stage(afl_state_t *afl, u8 *orig_buf, u8 *buf, u32 len, if (unlikely(common_fuzz_cmplog_stuff(afl, buf, len))) return 1; u64 orig_hit_cnt, new_hit_cnt; - u64 orig_execs = afl->total_execs; + u64 orig_execs = afl->fsrv.total_execs; orig_hit_cnt = afl->queued_paths + afl->unique_crashes; afl->stage_name = "input-to-state"; @@ -670,7 +670,7 @@ u8 input_to_state_stage(afl_state_t *afl, u8 *orig_buf, u8 *buf, u32 len, exit_its: new_hit_cnt = afl->queued_paths + afl->unique_crashes; afl->stage_finds[STAGE_ITS] += new_hit_cnt - orig_hit_cnt; - afl->stage_cycles[STAGE_ITS] += afl->total_execs - orig_execs; + afl->stage_cycles[STAGE_ITS] += afl->fsrv.total_execs - orig_execs; memcpy(orig_buf, buf, len); |