From 919108ee57528254348e58df75ef1db0bebbabce Mon Sep 17 00:00:00 2001 From: Kuang-che Wu Date: Tue, 13 May 2025 15:19:59 +0800 Subject: [PATCH] show stats more frequently when sync foreign otherwise, the stats might have no updates for hours for large foreign directory --- src/afl-fuzz-init.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c index 645d2cf2..5a86a74a 100644 --- a/src/afl-fuzz-init.c +++ b/src/afl-fuzz-init.c @@ -658,12 +658,8 @@ void read_foreign_testcases(afl_state_t *afl, int first) { munmap(mem, st.st_size); close(fd); - if (st.st_mtime > mtime_max) { - - mtime_max = st.st_mtime; - show_stats(afl); - - } + if (st.st_mtime > mtime_max) { mtime_max = st.st_mtime; } + show_stats(afl); }