mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-12 18:18:07 +00:00
Merge pull request #2423 from kcwu/more-stats-sync-foreign
show stats more frequently when sync foreign
This commit is contained in:
@ -659,15 +659,11 @@ void read_foreign_testcases(afl_state_t *afl, int first) {
|
|||||||
munmap(mem, st.st_size);
|
munmap(mem, st.st_size);
|
||||||
close(fd);
|
close(fd);
|
||||||
|
|
||||||
if (st.st_mtime > mtime_max) {
|
if (st.st_mtime > mtime_max) { mtime_max = st.st_mtime; }
|
||||||
|
|
||||||
mtime_max = st.st_mtime;
|
|
||||||
show_stats(afl);
|
show_stats(afl);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
if (mtime_max > afl->foreign_syncs[iter].mtime) {
|
if (mtime_max > afl->foreign_syncs[iter].mtime) {
|
||||||
|
|
||||||
afl->foreign_syncs[iter].mtime = mtime_max;
|
afl->foreign_syncs[iter].mtime = mtime_max;
|
||||||
|
Reference in New Issue
Block a user