diff options
author | Amit Elkabetz <12958411+amitelka@users.noreply.github.com> | 2023-03-05 18:16:21 +0200 |
---|---|---|
committer | Amit Elkabetz <12958411+amitelka@users.noreply.github.com> | 2023-03-05 18:16:21 +0200 |
commit | 07cf27cddc6f0189ee9b21f888595c84549b5b93 (patch) | |
tree | d0bebabef7a714f54295610448fc4637f2f408dd /src/afl-fuzz-state.c | |
parent | 2ff0ff7a903c57f9df5ed1e97370c187ec45a31e (diff) | |
download | afl++-07cf27cddc6f0189ee9b21f888595c84549b5b93.tar.gz |
Added flag -u to allow custom interval to update fuzzer_stats file
Diffstat (limited to 'src/afl-fuzz-state.c')
-rw-r--r-- | src/afl-fuzz-state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afl-fuzz-state.c b/src/afl-fuzz-state.c index 6d8c8758..e319c512 100644 --- a/src/afl-fuzz-state.c +++ b/src/afl-fuzz-state.c @@ -100,6 +100,7 @@ void afl_state_init(afl_state_t *afl, uint32_t map_size) { afl->hang_tmout = EXEC_TIMEOUT; afl->exit_on_time = 0; afl->stats_update_freq = 1; + afl->stats_file_update_freq_msecs = STATS_UPDATE_SEC * 1000; afl->stats_avg_exec = 0; afl->skip_deterministic = 1; afl->sync_time = SYNC_TIME; |