diff options
author | vj-27 <vimal.joseph.027@gmail.com> | 2021-02-05 00:26:23 +0000 |
---|---|---|
committer | vj-27 <vimal.joseph.027@gmail.com> | 2021-02-05 00:26:23 +0000 |
commit | 6f163bb0c50a103dc4565ec5f0b8b9b94b5c16f6 (patch) | |
tree | d9345056f1e05e1ed10d13459c4da90476feb143 /src/afl-fuzz.c | |
parent | ec737f3368e678cbee3a916d4ef6fb683ebfa1f0 (diff) | |
download | afl++-6f163bb0c50a103dc4565ec5f0b8b9b94b5c16f6.tar.gz |
load existing stats file when in AFL_AUTORESUME or -i -
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r-- | src/afl-fuzz.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index a579a8f5..6c617b18 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -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); |