about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-07-24 13:26:07 +0200
committervan Hauser <vh@thc.org>2020-07-24 13:26:07 +0200
commit30c09915432af7a9e98f9b4d8b09566731e0cca9 (patch)
treed00b7d7a24d5398b1c795fc03d6991a1075cf8f3 /include
parent3e04dbd5a1048ed3dd245c9db70d8a8d3b7d7135 (diff)
downloadafl++-30c09915432af7a9e98f9b4d8b09566731e0cca9.tar.gz
better text mutation
Diffstat (limited to 'include')
-rw-r--r--include/afl-fuzz.h2
-rw-r--r--include/config.h7
2 files changed, 4 insertions, 5 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index 96d3d9f4..0e2b7458 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -334,7 +334,7 @@ typedef struct afl_env_vars {
       afl_dumb_forksrv, afl_import_first, afl_custom_mutator_only, afl_no_ui,
       afl_force_ui, afl_i_dont_care_about_missing_crashes, afl_bench_just_one,
       afl_bench_until_crash, afl_debug_child_output, afl_autoresume,
-      afl_cal_fast, afl_cycle_schedules;
+      afl_cal_fast, afl_cycle_schedules, afl_expand_havoc;
 
   u8 *afl_tmpdir, *afl_custom_mutator_library, *afl_python_module, *afl_path,
       *afl_hang_tmout, *afl_skip_crashes, *afl_preload;
diff --git a/include/config.h b/include/config.h
index 9710cd1f..344a368f 100644
--- a/include/config.h
+++ b/include/config.h
@@ -403,15 +403,14 @@
 
 /* Text mutations */
 
-/* What is the minimum length of a queue input to be evaluated for "is_ascii"?
-+ */
+/* 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
+#define AFL_TXT_MIN_PERCENT 94
 
 /* How often to perform ASCII mutations 0 = disable, 1-8 are good values */
 
@@ -423,7 +422,7 @@
 
 /* Maximum mutations on a string */
 
-#define AFL_TXT_STRING_MAX_MUTATIONS 8
+#define AFL_TXT_STRING_MAX_MUTATIONS 6
 
 #endif                                                  /* ! _HAVE_CONFIG_H */