about summary refs log tree commit diff
path: root/src/afl-fuzz-state.c
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-04-04 19:44:12 +0200
committervanhauser-thc <vh@thc.org>2023-04-04 19:44:12 +0200
commit3ab18d286142e2e19e37850c051e0b07b9d7b296 (patch)
tree0d717ef99fab4e30bb31e7a1af0623f929037509 /src/afl-fuzz-state.c
parent2bff92c603463410fa0f97e7c4db7eb14c45e5ed (diff)
downloadafl++-3ab18d286142e2e19e37850c051e0b07b9d7b296.tar.gz
mode switch
Diffstat (limited to 'src/afl-fuzz-state.c')
-rw-r--r--src/afl-fuzz-state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afl-fuzz-state.c b/src/afl-fuzz-state.c
index f9aa5cfe..907861e9 100644
--- a/src/afl-fuzz-state.c
+++ b/src/afl-fuzz-state.c
@@ -108,6 +108,7 @@ void afl_state_init(afl_state_t *afl, uint32_t map_size) {
   afl->cmplog_lvl = 2;
   afl->min_length = 1;
   afl->max_length = MAX_FILE;
+  afl->switch_fuzz_mode = STRATEGY_SWITCH_TIME;
 #ifndef NO_SPLICING
   afl->use_splicing = 1;
 #endif