diff options
author | van Hauser <vh@thc.org> | 2020-09-29 15:02:57 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-09-29 15:02:57 +0200 |
commit | 383cd487a2c28012c80341f8517e473120af4d19 (patch) | |
tree | 64e2367e898abe6855796303e95689cf2f3cd57c /include/afl-fuzz.h | |
parent | fe08482c1b2269289bfedea9f0ef2b6721d18221 (diff) | |
download | afl++-383cd487a2c28012c80341f8517e473120af4d19.tar.gz |
small improvements to Marcel's patch, fix laf-intel + redqueen crashes
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r-- | include/afl-fuzz.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h index f65fc40f..fb661ce5 100644 --- a/include/afl-fuzz.h +++ b/include/afl-fuzz.h @@ -151,7 +151,8 @@ struct queue_entry { is_ascii; /* Is the input just ascii text? */ u32 bitmap_size, /* Number of bits set in bitmap */ - fuzz_level; /* Number of fuzzing iterations */ + fuzz_level, /* Number of fuzzing iterations */ + n_fuzz_entry; /* offset in n_fuzz */ u64 exec_us, /* Execution time (us) */ handicap, /* Number of queue cycles behind */ @@ -491,7 +492,7 @@ typedef struct afl_state { u8 *var_bytes; /* Bytes that appear to be variable */ - #define n_fuzz_size (1 << 21) +#define N_FUZZ_SIZE (1 << 21) u32 *n_fuzz; volatile u8 stop_soon, /* Ctrl-C pressed? */ |