diff options
author | vanhauser-thc <vh@thc.org> | 2023-02-15 11:23:42 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-02-15 11:23:42 +0100 |
commit | 2090f17a9bb9cc225c1d24e8b21ed0c993a2665f (patch) | |
tree | 93c8dc869647c46940231c4b882a97fcefc32451 /custom_mutators/autotokens/autotokens.cpp | |
parent | 668f5e1fa9c126bb8c751a6e4ef038ae60a442fa (diff) | |
download | afl++-2090f17a9bb9cc225c1d24e8b21ed0c993a2665f.tar.gz |
opt
Diffstat (limited to 'custom_mutators/autotokens/autotokens.cpp')
-rw-r--r-- | custom_mutators/autotokens/autotokens.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/custom_mutators/autotokens/autotokens.cpp b/custom_mutators/autotokens/autotokens.cpp index 043d9588..a2b2814f 100644 --- a/custom_mutators/autotokens/autotokens.cpp +++ b/custom_mutators/autotokens/autotokens.cpp @@ -143,9 +143,9 @@ static void first_run(void *data) { } - if ((valid * 100) / afl_ptr->extras_cnt < 95) { module_disabled = 1; } + if ((valid * 100) / afl_ptr->extras_cnt <= 70) { module_disabled = 1; } - DEBUGF(stderr, "DICT: valid %u, total %u, %u < 95 == disable\n", valid, + DEBUGF(stderr, "DICT: valid %u, total %u, %u <= 70 == disable\n", valid, afl_ptr->extras_cnt, (u32)((valid * 100) / afl_ptr->extras_cnt)); } else { @@ -191,9 +191,9 @@ static void first_run(void *data) { } - if ((is_ascii * 100) / valid < 70) { module_disabled = 1; } + if ((is_ascii * 100) / valid <= 70) { module_disabled = 1; } - DEBUGF(stderr, "seeds: total %u, valid %u, ascii %u, %u < 70 == disabled\n", + DEBUGF(stderr, "seeds: total %u, valid %u, ascii %u, %u <= 70 == disabled\n", afl_ptr->active_items, valid, is_ascii, (u32)((is_ascii * 100) / valid)); |