about summary refs log tree commit diff
path: root/include/config.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-07-29 11:41:54 +0200
committerGitHub <noreply@github.com>2020-07-29 11:41:54 +0200
commit8e3ca8eaa9350cc5967de23a432d8d462855f069 (patch)
tree7896b5ec1f49b3ebe32d1466e85ea8f536ad599e /include/config.h
parent015fde3703c7b67ee65d74b0f4b7b68b5d1e4d7e (diff)
parent4550613f58342632061944ef09add63240d774cc (diff)
downloadafl++-8e3ca8eaa9350cc5967de23a432d8d462855f069.tar.gz
Merge pull request #473 from AFLplusplus/text_inputs
add splice
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 4503c3e9..344a368f 100644
--- a/include/config.h
+++ b/include/config.h
@@ -401,5 +401,28 @@
 
 // #define IGNORE_FINDS
 
+/* Text mutations */
+
+/* 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 94
+
+/* 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 6
+
 #endif                                                  /* ! _HAVE_CONFIG_H */