about summary refs log tree commit diff
path: root/include/config.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-06-29 18:35:51 +0200
committerGitHub <noreply@github.com>2020-06-29 18:35:51 +0200
commit6d9b29daca46c8912aa9ddf6c053bc8554e9e9f7 (patch)
tree4c762f1e2cfb4a8741c08b5b60d07c2ae8eee860 /include/config.h
parent07648f75ea5ef8f03a92db0c7566da8c229dc27b (diff)
parent76a2d9b59b23873c8a6d174a2f3c48eba60712fb (diff)
downloadafl++-6d9b29daca46c8912aa9ddf6c053bc8554e9e9f7.tar.gz
Merge branch 'text_inputs' into dev
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h26
1 files changed, 25 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index 087e0a76..09405a22 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,5 +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 12
+
+/* What is the minimum percentage of ascii characters present to be classifed
+   as "is_ascii"? */
+
+#define AFL_TXT_MIN_PERCENT 95
+
+/* How often to perform ASCII mutations 0 = disable, 1-8 are good values */
+
+#define AFL_TXT_BIAS 8
+
+/* 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 6
+
 #endif                                                  /* ! _HAVE_CONFIG_H */