about summary refs log tree commit diff
path: root/src/afl-fuzz-one.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-07-24 13:42:39 +0200
committervan Hauser <vh@thc.org>2020-07-24 13:42:39 +0200
commitecb0601bc1e90b3379030644556a0d8d51182c0d (patch)
tree1e865d2bf745c0993da9ae60e4aa6ec16982fa73 /src/afl-fuzz-one.c
parent30c09915432af7a9e98f9b4d8b09566731e0cca9 (diff)
downloadafl++-ecb0601bc1e90b3379030644556a0d8d51182c0d.tar.gz
massage chances
Diffstat (limited to 'src/afl-fuzz-one.c')
-rw-r--r--src/afl-fuzz-one.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/afl-fuzz-one.c b/src/afl-fuzz-one.c
index dc19150d..98d9875e 100644
--- a/src/afl-fuzz-one.c
+++ b/src/afl-fuzz-one.c
@@ -746,9 +746,9 @@ static int text_mutation(afl_state_t *afl, u8 **out_buf, s32 *orig_temp_len) {
         break;
       default: {
 
-        /* 10% is transforming ascii numbers */
+        /* 5% is transforming ascii numbers */
 
-        if (choice < 60) {
+        if (choice < 55) {
 
           for (u32 j = pos; j < temp_len; ++j) {
 
@@ -826,7 +826,7 @@ static int text_mutation(afl_state_t *afl, u8 **out_buf, s32 *orig_temp_len) {
 
           }
 
-        } else if (choice < 90) {
+        } else if (choice < 85) {
 
           /* 30% is special character transform */
 
@@ -845,7 +845,7 @@ static int text_mutation(afl_state_t *afl, u8 **out_buf, s32 *orig_temp_len) {
 
         } else {
 
-          /* 10% is random text character transform */
+          /* 15% is random text character transform */
 
           u32 iter, cnt, loc, prev_loc = temp_len;
           if (temp_len > 32) {