diff options
author | vanhauser-thc <vh@thc.org> | 2024-05-07 16:46:15 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2024-05-07 16:46:24 +0200 |
commit | ac6ccd53dff5a43050ad8a0922c8fa47e69333a8 (patch) | |
tree | acf099a464c9c98b6cff507eb36c865acbfee8ee /src/afl-fuzz-init.c | |
parent | 4ec376bd6a76c3a624d01961dcf15e83a28cda08 (diff) | |
download | afl++-ac6ccd53dff5a43050ad8a0922c8fa47e69333a8.tar.gz |
stat update during syncing
Diffstat (limited to 'src/afl-fuzz-init.c')
-rw-r--r-- | src/afl-fuzz-init.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c index b3fe9318..01d0730d 100644 --- a/src/afl-fuzz-init.c +++ b/src/afl-fuzz-init.c @@ -577,6 +577,8 @@ void read_foreign_testcases(afl_state_t *afl, int first) { afl->stage_cur = 0; afl->stage_max = 0; + show_stats(afl); + for (i = 0; i < (u32)nl_cnt; ++i) { struct stat st; @@ -655,7 +657,12 @@ 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; + if (st.st_mtime > mtime_max) { + + mtime_max = st.st_mtime; + show_stats(afl); + + } } |