add afl-fuzz -y fuzz length support

This commit is contained in:
vanhauser-thc
2022-02-05 08:27:17 +01:00
parent ce5032cc29
commit d5b9cd4b73
9 changed files with 85 additions and 17 deletions

View File

@ -102,6 +102,8 @@ void afl_state_init(afl_state_t *afl, uint32_t map_size) {
afl->stats_avg_exec = 0;
afl->skip_deterministic = 1;
afl->cmplog_lvl = 2;
afl->min_length = 1;
afl->max_length = MAX_FILE;
#ifndef NO_SPLICING
afl->use_splicing = 1;
#endif