aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-09-25 10:48:08 +0200
committervan Hauser <vh@thc.org>2020-09-25 10:48:08 +0200
commite38ca0e7508752c8a8d1e87d4bb215d90126babf (patch)
tree7be383ca18f0ab2798ce4757971a274a6bc3d6d6 /include
parent818c05cf292978851f742fe7c02e7aee214bbe8a (diff)
downloadafl++-e38ca0e7508752c8a8d1e87d4bb215d90126babf.tar.gz
setting HAVOC_STACK_POW2 to 4, as fuzzbench shows that too mach mutation is less effective
Diffstat (limited to 'include')
-rw-r--r--include/config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/config.h b/include/config.h
index 86285944..a01491e7 100644
--- a/include/config.h
+++ b/include/config.h
@@ -126,17 +126,17 @@
n = random between 1 and HAVOC_STACK_POW2
stacking = 2^n
- In other words, the default (n = 6) produces 2, 4, 8, 16, 32, or 64
+ In other words, the default (n = 4) produces 2, 4, 8, 16
stacked tweaks: */
-#define HAVOC_STACK_POW2 6
+#define HAVOC_STACK_POW2 4
/* Caps on block sizes for cloning and deletion operations. Each of these
ranges has a 33% probability of getting picked, except for the first
two cycles where smaller blocks are favored: */
#define HAVOC_BLK_SMALL 32
-#define HAVOC_BLK_MEDIUM 128
+#define HAVOC_BLK_MEDIUM 128
#define HAVOC_BLK_LARGE 1500
/* Extra-large blocks, selected very rarely (<5% of the time): */