preserve plot_data for in-place resume
MODIFY
src/afl-fuzz-init.c
src/afl-fuzz-init.c
@@ -1578,10 +1578,14 @@ static void handle_existing_out_dir(afl_state_t *afl) {
}
+ if (!afl->in_place_resume) {
+
fn = alloc_printf("%s/plot_data", afl->out_dir);
if (unlink(fn) && errno != ENOENT) { goto dir_cleanup_failed; }
ck_free(fn);
+ }
+
fn = alloc_printf("%s/cmdline", afl->out_dir);
if (unlink(fn) && errno != ENOENT) { goto dir_cleanup_failed; }
ck_free(fn);

preserve plot_data for in-place resume