about summary refs log tree commit diff
path: root/src/afl-fuzz-state.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2023-06-12 10:16:45 +0300
committerGitHub <noreply@github.com>2023-06-12 10:16:45 +0300
commitf1a616406eff94458ad300efa1b46ff301b24ae8 (patch)
tree4d3957e452ce12ef81f949a945c85f38fff216a3 /src/afl-fuzz-state.c
parent61b6f4ed9e4dce15c39e4350278a95a41ea2522c (diff)
parented97dbacef98c379d7028514a43c799c86050584 (diff)
downloadafl++-f1a616406eff94458ad300efa1b46ff301b24ae8.tar.gz
Merge pull request #1767 from AFLplusplus/mutationnew
Mutationnew
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 5e736029..99f69314 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 * 1000;
 #ifndef NO_SPLICING
   afl->use_splicing = 1;
 #endif