about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChi-Feng Tsai <ktpss95112@gmail.com>2024-09-06 11:39:49 +0800
committerGitHub <noreply@github.com>2024-09-06 11:39:49 +0800
commit6f61fca15af0d15b94b582bdc2701736adcd625c (patch)
tree97240fd44c9c1e8241892303aa8890fd2a21de76
parent598a3c6b5e24bd33e84b914e145810d39f88adf6 (diff)
downloadafl++-6f61fca15af0d15b94b582bdc2701736adcd625c.tar.gz
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 4f366b0d..0e7fae74 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) {