fix bad fix for MUT_STRATEGY_ARRAY_SIZE

This commit is contained in:
vanhauser-thc
2023-12-19 11:15:33 +01:00
parent f822cdeb74
commit 806a76afae
2 changed files with 7 additions and 3 deletions

View File

@ -4,8 +4,11 @@
release of the tool. See README.md for the general instruction manual. release of the tool. See README.md for the general instruction manual.
### Version ++4.10a (dev) ### Version ++4.10a (dev)
- afl-fuzz:
- default power schedule is now EXPLORE, due a fix in fast schedules - default power schedule is now EXPLORE, due a fix in fast schedules
explore is slightly better now. explore is slightly better now.
- fixed minor issues in the mutation engine, thanks to @futhewo for
reporting!
### Version ++4.09c (release) ### Version ++4.09c (release)

View File

@ -32,7 +32,7 @@
#include <inttypes.h> #include <inttypes.h>
#include "afl-fuzz.h" #include "afl-fuzz.h"
#define MUT_STRATEGY_ARRAY_SIZE 255 #define MUT_STRATEGY_ARRAY_SIZE 256
enum { enum {
@ -1082,6 +1082,7 @@ u32 mutation_strategy_exploration_binary[MUT_STRATEGY_ARRAY_SIZE] = {
MUT_CLONE_COPY, MUT_CLONE_COPY,
MUT_CLONE_COPY, MUT_CLONE_COPY,
MUT_CLONE_COPY, MUT_CLONE_COPY,
MUT_CLONE_COPY,
MUT_CLONE_FIXED, MUT_CLONE_FIXED,
MUT_CLONE_FIXED, MUT_CLONE_FIXED,
MUT_CLONE_FIXED, MUT_CLONE_FIXED,