about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-07-01 12:19:44 +0200
committervanhauser-thc <vh@thc.org>2023-07-01 12:19:44 +0200
commit03bae6c4fe544f87f07cdb554daa6519d37cdfc8 (patch)
tree1531147c71d567c849f2e9a3a8719fc249ee37f7 /src
parent317a9df668913dd3a5b37ce2813b0e74c8e69a39 (diff)
downloadafl++-03bae6c4fe544f87f07cdb554daa6519d37cdfc8.tar.gz
switch exploit strategy
Diffstat (limited to 'src')
-rw-r--r--src/afl-fuzz-one.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/afl-fuzz-one.c b/src/afl-fuzz-one.c
index 0d3c29f2..942381dd 100644
--- a/src/afl-fuzz-one.c
+++ b/src/afl-fuzz-one.c
@@ -2095,8 +2095,8 @@ havoc_stage:
 
       } else {  // exploitation mode
 
-        mutation_array = (unsigned int *)&mutation_strategy_exploitation_text;
-        rand_max = MUT_STRATEGY_ARRAY_SIZE;
+        mutation_array = (unsigned int *)&text_array;
+        rand_max = MUT_TXT_ARRAY_SIZE;
 
       }
 
@@ -2129,9 +2129,8 @@ havoc_stage:
 
       } else {  // exploitation mode
 
-        // this will need to be changed I guess
-        mutation_array = (unsigned int *)&mutation_strategy_exploration_text;
-        rand_max = MUT_STRATEGY_ARRAY_SIZE;
+        mutation_array = (unsigned int *)&text_array;
+        rand_max = MUT_TXT_ARRAY_SIZE;
 
       }