about summary refs log tree commit diff
path: root/include/config.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-03-25 08:54:21 +0100
committerGitHub <noreply@github.com>2021-03-25 08:54:21 +0100
commit3b860c1dd63036ee99fbb548c5c0ba0c67f9af08 (patch)
tree66d0555fbe862fdbe083450f6fe087bd72945bd7 /include/config.h
parentd319b4a3819052de5bf576c560da6e4687c31de9 (diff)
parentab394836a9fe3faadb9d1af3a7d377bbcf5b5eee (diff)
downloadafl++-3b860c1dd63036ee99fbb548c5c0ba0c67f9af08.tar.gz
Merge pull request #844 from AFLplusplus/replay
AFL_PERSISTENT_RECORD support
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 8ac74c45..75f363f7 100644
--- a/include/config.h
+++ b/include/config.h
@@ -71,7 +71,17 @@
 /* Maximum allowed fails per CMP value. Default: 128 */
 #define CMPLOG_FAIL_MAX 96
 
+/* -------------------------------------*/
 /* Now non-cmplog configuration options */
+/* -------------------------------------*/
+
+/* If a persistent target keeps state and found crashes are not reproducable
+   then enable this option and set the AFL_PERSISTENT_RECORD env variable
+   to a number. These number of testcases prior and including the crash case
+   will be kept and written to the crash/ directory as RECORD:... files.
+   Note that every crash will be written, not only unique ones! */
+
+//#define AFL_PERSISTENT_RECORD
 
 /* console output colors: There are three ways to configure its behavior
  * 1. default: colored outputs fixed on: defined USE_COLOR && defined