aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniil Kuts <13482580+apach301@users.noreply.github.com>2022-05-27 13:52:31 +0300
committerGitHub <noreply@github.com>2022-05-27 12:52:31 +0200
commitc96238d85f4a784402db6cbf16630b977617eb1a (patch)
tree426799e929930c90ce2619b1aaa9944c6d400502 /include
parent4103ee43e249ee14bd16baf080489a107bbfdbf5 (diff)
downloadafl++-c96238d85f4a784402db6cbf16630b977617eb1a.tar.gz
Add AFL_SYNC_TIME variable for synchronization time tuning (#1425)
* Add AFL_SYNC_TIME variable for synchronization time tuning * Documentation for AFL_SYNC_TIME variable
Diffstat (limited to 'include')
-rw-r--r--include/afl-fuzz.h3
-rw-r--r--include/envs.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index 9992e841..24af426f 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -577,7 +577,8 @@ typedef struct afl_state {
last_find_time, /* Time for most recent path (ms) */
last_crash_time, /* Time for most recent crash (ms) */
last_hang_time, /* Time for most recent hang (ms) */
- exit_on_time; /* Delay to exit if no new paths */
+ exit_on_time, /* Delay to exit if no new paths */
+ sync_time; /* Sync time (ms) */
u32 slowest_exec_ms, /* Slowest testcase non hang in ms */
subseq_tmouts; /* Number of timeouts in a row */
diff --git a/include/envs.h b/include/envs.h
index 25b792fa..f4cccc96 100644
--- a/include/envs.h
+++ b/include/envs.h
@@ -206,6 +206,7 @@ static char *afl_environment_variables[] = {
"AFL_STATSD_HOST",
"AFL_STATSD_PORT",
"AFL_STATSD_TAGS_FLAVOR",
+ "AFL_SYNC_TIME",
"AFL_TESTCACHE_SIZE",
"AFL_TESTCACHE_ENTRIES",
"AFL_TMIN_EXACT",