add no splicing compile option and print used compile options in afl-fuzz help

This commit is contained in:
van Hauser
2020-10-26 14:44:05 +01:00
parent 029d44a6ec
commit 44c65fa0a0
5 changed files with 36 additions and 0 deletions

View File

@ -102,7 +102,9 @@ void afl_state_init(afl_state_t *afl, uint32_t map_size) {
afl->stats_update_freq = 1;
afl->stats_avg_exec = -1;
afl->skip_deterministic = 1;
#ifndef NO_SPLICING
afl->use_splicing = 1;
#endif
afl->q_testcase_max_cache_size = TESTCASE_CACHE_SIZE * 1048576UL;
afl->q_testcase_max_cache_entries = 64 * 1024;