reverse read the queue n resumes

This commit is contained in:
vanhauser-thc
2021-06-22 17:24:06 +02:00
parent ba9323f14c
commit cbac22d82b
4 changed files with 14 additions and 4 deletions

View File

@ -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);