diff options
author | Dominik Maier <domenukk@gmail.com> | 2020-03-27 21:59:08 +0100 |
---|---|---|
committer | Dominik Maier <domenukk@gmail.com> | 2020-03-27 21:59:08 +0100 |
commit | 14bd424d2a5854052c4c847b9d5eb435578c9774 (patch) | |
tree | fdb6b5e5b550f21ac255c481def193396e608176 /include/afl-fuzz.h | |
parent | 5a7d33330a2bbd4866138488b136dfd7bde3bf9b (diff) | |
download | afl++-14bd424d2a5854052c4c847b9d5eb435578c9774.tar.gz |
almost
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r-- | include/afl-fuzz.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h index 530a4b6a..2154d860 100644 --- a/include/afl-fuzz.h +++ b/include/afl-fuzz.h @@ -583,6 +583,27 @@ typedef struct afl_state { u8 clean_trace_custom[MAP_SIZE]; u8 first_trace[MAP_SIZE]; +/*needed for afl_fuzz_one */ +// TODO: see which we can reuse + u8 *out_buf; + size_t out_size; + + u8 *out_scratch_buf; + size_t out_scratch_size; + + u8 *eff_buf; + size_t eff_size; + + u8 *in_buf; + size_t in_size; + + u8 *in_scratch_buf; + size_t in_scratch_size; + + u8 *ex_buf; + size_t ex_size; + + } afl_state_t; /* A global pointer to all instances is needed (for now) for signals to arrive |