load existing stats file when in AFL_AUTORESUME or -i -

This commit is contained in:
vj-27
2021-02-05 00:26:23 +00:00
parent ec737f3368
commit 6f163bb0c5
3 changed files with 103 additions and 0 deletions

View File

@ -1682,6 +1682,7 @@ int main(int argc, char **argv_orig, char **envp) {
if (unlikely(afl->old_seed_selection)) seek_to = find_start_position(afl);
if (afl->in_place_resume || afl->afl_env.afl_autoresume) load_stats_file(afl);
write_stats_file(afl, 0, 0, 0);
maybe_update_plot_file(afl, 0, 0);
save_auto(afl);