diff options
author | vanhauser-thc <vh@thc.org> | 2022-11-18 12:23:18 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2022-11-18 12:23:18 +0100 |
commit | 26a5bd625ccbd8de4fbc9b5eea263d092bd405e5 (patch) | |
tree | 3f6a478030a7b3b80bb509a236468501275e7ee4 /src/afl-fuzz-init.c | |
parent | 170e8122aea53310079d4b09e04572ec010b477b (diff) | |
download | afl++-26a5bd625ccbd8de4fbc9b5eea263d092bd405e5.tar.gz |
write queue statistics
Diffstat (limited to 'src/afl-fuzz-init.c')
-rw-r--r-- | src/afl-fuzz-init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c index e41d29fd..ed52ca00 100644 --- a/src/afl-fuzz-init.c +++ b/src/afl-fuzz-init.c @@ -1848,6 +1848,10 @@ static void handle_existing_out_dir(afl_state_t *afl) { } + fn = alloc_printf("%s/queue_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); |