mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 02:58:08 +00:00
show stats more frequently when sync foreign
otherwise, the stats might have no updates for hours for large foreign directory
This commit is contained in:
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user