diff options
author | vanhauser-thc <vh@thc.org> | 2021-06-22 17:24:06 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-06-22 17:24:06 +0200 |
commit | cbac22d82b90d631bafc4572aa79faa0c568beeb (patch) | |
tree | 6d943e4ea1ebe3f08d00524c8b11919df1ac3332 /src/afl-fuzz.c | |
parent | ba9323f14cb4ba7c99c4081f19c12b93e112dd65 (diff) | |
download | afl++-cbac22d82b90d631bafc4572aa79faa0c568beeb.tar.gz |
reverse read the queue n resumes
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r-- | src/afl-fuzz.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index c148086c..5f25f728 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -1911,7 +1911,12 @@ int main(int argc, char **argv_orig, char **envp) { if (unlikely(afl->old_seed_selection)) seek_to = find_start_position(afl); afl->start_time = get_cur_time(); - if (afl->in_place_resume || afl->afl_env.afl_autoresume) load_stats_file(afl); + if (afl->in_place_resume || afl->afl_env.afl_autoresume) { + + load_stats_file(afl); + + } + write_stats_file(afl, 0, 0, 0, 0); maybe_update_plot_file(afl, 0, 0, 0); save_auto(afl); |