about summary refs log tree commit diff
path: root/src/afl-fuzz-state.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-09-28 10:13:00 +0200
committervan Hauser <vh@thc.org>2020-09-28 10:13:00 +0200
commite69b25e34be8028921389bbb114135c3028d0a3d (patch)
tree1f0dba3ddc99d4b416a0bdaad94ea3caf77dfc04 /src/afl-fuzz-state.c
parente85fde201e988cf9e7cf608be394977f7c045a75 (diff)
downloadafl++-e69b25e34be8028921389bbb114135c3028d0a3d.tar.gz
increase havoc_stack_pow2 on no finds
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 5e0995fe..a8e56e60 100644
--- a/src/afl-fuzz-state.c
+++ b/src/afl-fuzz-state.c
@@ -95,6 +95,7 @@ void afl_state_init(afl_state_t *afl, uint32_t map_size) {
   afl->stage_name = "init";             /* Name of the current fuzz stage   */
   afl->splicing_with = -1;              /* Splicing with which test case?   */
   afl->cpu_to_bind = -1;
+  afl->havoc_stack_pow2 = HAVOC_STACK_POW2;
   afl->cal_cycles = CAL_CYCLES;
   afl->cal_cycles_long = CAL_CYCLES_LONG;
   afl->hang_tmout = EXEC_TIMEOUT;