diff options
author | van Hauser <vh@thc.org> | 2020-06-30 17:33:47 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-06-30 17:33:47 +0200 |
commit | 7527c76c7446f8197b9f7acb8ca0ccd44fe7bd39 (patch) | |
tree | 8e368959e6d86214b6a31c10c49e3e41578633d2 | |
parent | 06264df16891070a09a31cd981a9dcaaf01de7c7 (diff) | |
download | afl++-7527c76c7446f8197b9f7acb8ca0ccd44fe7bd39.tar.gz |
reduce the time interval in which the secondaries sync
-rw-r--r-- | include/config.h | 2 | ||||
-rw-r--r-- | src/afl-fuzz.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/config.h b/include/config.h index 087e0a76..5ee93389 100644 --- a/include/config.h +++ b/include/config.h @@ -234,7 +234,7 @@ /* Sync interval (every n havoc cycles): */ -#define SYNC_INTERVAL 5 +#define SYNC_INTERVAL 8 /* Output directory reuse grace period (minutes): */ diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index 7580caad..e4e2669c 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -1280,7 +1280,7 @@ int main(int argc, char **argv_orig, char **envp) { if (unlikely(afl->is_main_node)) { - if (!(sync_interval_cnt++ % (SYNC_INTERVAL / 2))) { sync_fuzzers(afl); } + if (!(sync_interval_cnt++ % (SYNC_INTERVAL / 3))) { sync_fuzzers(afl); } } else { |