enable text mode

This commit is contained in:
vanhauser-thc
2023-06-12 09:13:24 +02:00
parent 25eba95bba
commit ed97dbacef

View File

@ -2101,8 +2101,9 @@ havoc_stage:
*/ */
/* rand_max = MUT_STRATEGY_ARRAY_SIZE;
if (unlikely(afl->text_input || afl->queue_cur->is_ascii)) { // is text?
if (unlikely(afl->text_input /*|| afl->queue_cur->is_ascii*/)) { // is text?
if (likely(afl->fuzz_mode == 0)) { // is exploration? if (likely(afl->fuzz_mode == 0)) { // is exploration?
@ -2116,10 +2117,6 @@ havoc_stage:
} else { // is binary! } else { // is binary!
*/
rand_max = MUT_STRATEGY_ARRAY_SIZE;
if (likely(afl->fuzz_mode == 0)) { // is exploration? if (likely(afl->fuzz_mode == 0)) { // is exploration?
mutation_array = (unsigned int *)&mutation_strategy_exploration_binary; mutation_array = (unsigned int *)&mutation_strategy_exploration_binary;
@ -2130,12 +2127,8 @@ havoc_stage:
} }
/*
} }
*/
/* /*
if (temp_len < 64) { if (temp_len < 64) {