about summary refs log tree commit diff
path: root/src/afl-fuzz.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2023-03-06 11:51:56 +0100
committerGitHub <noreply@github.com>2023-03-06 11:51:56 +0100
commitaa125f824619fe3c3ebf5ed8a571340397a7c46a (patch)
treede55616a3066713895853fc8e7751e4c59af9f6c /src/afl-fuzz.c
parent2f128e0dbd1b39f1d99a042f8813b93da1747731 (diff)
parentb571e88bd33ad7b5cf7dade93e6a1986cf8def56 (diff)
downloadafl++-aa125f824619fe3c3ebf5ed8a571340397a7c46a.tar.gz
Merge pull request #1667 from amitelka/feature/opt_statsfile_update_interval
Added env variable to allow custom interval update of fuzzer_stats file
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r--src/afl-fuzz.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c
index 4914ce0b..d7708fdf 100644
--- a/src/afl-fuzz.c
+++ b/src/afl-fuzz.c
@@ -210,7 +210,8 @@ static void usage(u8 *argv0, int more_help) {
       "  -b cpu_id     - bind the fuzzing process to the specified CPU core "
       "(0-...)\n"
       "  -e ext        - file extension for the fuzz test input file (if "
-      "needed)\n\n",
+      "needed)\n"
+      "\n",
       argv0, EXEC_TIMEOUT, MEM_LIMIT, MAX_FILE, FOREIGN_SYNCS_MAX);
 
   if (more_help > 1) {
@@ -312,6 +313,8 @@ static void usage(u8 *argv0, int more_help) {
       "                      afl-clang-lto/afl-gcc-fast target\n"
       "AFL_PERSISTENT: enforce persistent mode (if __AFL_LOOP is in a shared lib\n"
       "AFL_DEFER_FORKSRV: enforced deferred forkserver (__AFL_INIT is in a .so)\n"
+      "AFL_FUZZER_STATS_UPDATE_INTERVAL: interval to update fuzzer_stats file in seconds, "
+      "(default: 60, minimum: 1)\n"
       "\n"
     );