about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2024-09-06 11:50:33 +0200
committerGitHub <noreply@github.com>2024-09-06 11:50:33 +0200
commit3ec794c806f9e5fbdd4bdb55cac11b2eb9d010c7 (patch)
treeb702e4d7c53835439ed83ed9291723cb32b7ebfa
parentbf46ff88231dbc9ebd4cffc3565d77ef92054710 (diff)
parent6f61fca15af0d15b94b582bdc2701736adcd625c (diff)
downloadafl++-3ec794c806f9e5fbdd4bdb55cac11b2eb9d010c7.tar.gz
Merge pull request #2203 from ktpss95112/patch-1
Update the doc string of read_foreign_testcases()
-rw-r--r--src/afl-fuzz-init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c
index 10951300..d3085d42 100644
--- a/src/afl-fuzz-init.c
+++ b/src/afl-fuzz-init.c
@@ -495,7 +495,9 @@ static void shuffle_ptrs(afl_state_t *afl, void **ptrs, u32 cnt) {
 }
 
 /* Read all testcases from foreign input directories, then queue them for
-   testing. Called at startup and at sync intervals.
+   testing. Called at sync intervals. Use env AFL_IMPORT_FIRST to sync at
+   startup (but may delay the startup depending on the amount of fails
+   and speed of execution).
    Does not descend into subdirectories! */
 
 void read_foreign_testcases(afl_state_t *afl, int first) {