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-07-30 19:00:41 +0200
committervan Hauser <vh@thc.org>2020-07-30 19:00:41 +0200
commit320f26d26f7e0cbe093e6f5af5f27f180bc31a1b (patch)
tree3c4bdbd2825df31fa22d1b66445e6e200040e2d0 /src/afl-fuzz-state.c
parentc661587128fd84847e88bb1b66e8403b81d0d296 (diff)
downloadafl++-320f26d26f7e0cbe093e6f5af5f27f180bc31a1b.tar.gz
add -b option to afl-fuzz
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 66280ed1..e2d62bc6 100644
--- a/src/afl-fuzz-state.c
+++ b/src/afl-fuzz-state.c
@@ -94,6 +94,7 @@ void afl_state_init(afl_state_t *afl, uint32_t map_size) {
   afl->havoc_div = 1;                   /* Cycle count divisor for havoc    */
   afl->stage_name = "init";             /* Name of the current fuzz stage   */
   afl->splicing_with = -1;              /* Splicing with which test case?   */
+  afl->cpu_to_bind = -1;
 
 #ifdef HAVE_AFFINITY
   afl->cpu_aff = -1;                    /* Selected CPU core                */