From ecb0601bc1e90b3379030644556a0d8d51182c0d Mon Sep 17 00:00:00 2001 From: van Hauser Date: Fri, 24 Jul 2020 13:42:39 +0200 Subject: massage chances --- src/afl-fuzz-one.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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) { -- cgit 1.4.1