about summary refs log tree commit diff
path: root/include/config.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-06-19 18:05:04 +0200
committervan Hauser <vh@thc.org>2020-06-19 18:05:04 +0200
commitde2c565953228a52b2ac75b778b27aab983151c6 (patch)
tree39b0a476721ef6e18cec35376f7881c3098501da /include/config.h
parent758f136d3ec11ad9bff39643962a4f2320713a6a (diff)
downloadafl++-de2c565953228a52b2ac75b778b27aab983151c6.tar.gz
first commit, looks good
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h25
1 files changed, 24 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index 711d0b77..d4dd70ff 100644
--- a/include/config.h
+++ b/include/config.h
@@ -293,7 +293,7 @@
 
 /* Call count interval between reseeding the libc PRNG from /dev/urandom: */
 
-#define RESEED_RNG 100000
+#define RESEED_RNG 256000
 
 /* Maximum line length passed from GCC to 'as' and used for parsing
    configuration files: */
@@ -397,6 +397,29 @@
 
 // #define IGNORE_FINDS
 
+/* Text mutations */
+
+/* What is the minimum length of a queue input to be evaluated for "is_ascii"?
+ */
+
+#define AFL_TXT_MIN_LEN 8
+
+/* What is the minimum percentage of ascii characters present to be classifed
+   as "is_ascii"? */
+
+#define AFL_TXT_MIN_PERCENT 80
+
+/* How often to perform ASCII mutations 0 = disable, 1-8 are good values */
+
+#define AFL_TXT_BIAS 6
+
+/* Maximum length of a string to tamper with */
+
+#define AFL_TXT_STRING_MAX_LEN 1024
+
+/* Maximum mutations on a string */
+
+#define AFL_TXT_STRING_MAX_MUTATIONS 16
 
 #endif                                                  /* ! _HAVE_CONFIG_H */