about summary refs log tree commit diff
path: root/include/config.h
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-03-24 18:18:05 +0100
committervanhauser-thc <vh@thc.org>2021-03-24 18:18:05 +0100
commit958436be4ba057e8409787e7ff4ddcfa095c46da (patch)
tree9d61e6f2bdd6dfd1ccc20795d730aacbc6f2395e /include/config.h
parentd3f69ab4c6d4f1e2eb3349eec3f1cb9313081151 (diff)
downloadafl++-958436be4ba057e8409787e7ff4ddcfa095c46da.tar.gz
ifdef for record
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 60872785..f6dbfae0 100644
--- a/include/config.h
+++ b/include/config.h
@@ -60,6 +60,15 @@
 
 /* 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 the crash will be kept and
+   also written to the crash/ directory */
+
+#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
  * ALWAYS_COLORED The env var. AFL_NO_COLOR will have no effect