diff options
author | van Hauser <vh@thc.org> | 2022-02-10 12:12:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 12:12:02 +0100 |
commit | 1d4f1e48797c064ee71441ba555b29fc3f467983 (patch) | |
tree | 66124b018da5451bd5eb578c460bd27e0614e52e /include/afl-fuzz.h | |
parent | 2d9325aed9bde0630162a5efaac33a2a8f5bb252 (diff) | |
parent | de7058b75b629011246be12b4ae7df1e504925b1 (diff) | |
download | afl++-1d4f1e48797c064ee71441ba555b29fc3f467983.tar.gz |
Merge pull request #1326 from AFLplusplus/dev
push to stable
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r-- | include/afl-fuzz.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h index e225211f..3712fc4f 100644 --- a/include/afl-fuzz.h +++ b/include/afl-fuzz.h @@ -726,6 +726,9 @@ typedef struct afl_state { /* queue entries ready for splicing count (len > 4) */ u32 ready_for_splicing_count; + /* min/max length for generated fuzzing inputs */ + u32 min_length, max_length; + /* This is the user specified maximum size to use for the testcase cache */ u64 q_testcase_max_cache_size; @@ -1090,12 +1093,12 @@ int statsd_format_metric(afl_state_t *afl, char *buff, size_t bufflen); /* Run */ -fsrv_run_result_t fuzz_run_target(afl_state_t *, afl_forkserver_t *fsrv, u32); -void write_to_testcase(afl_state_t *, void *, u32); -u8 calibrate_case(afl_state_t *, struct queue_entry *, u8 *, u32, u8); void sync_fuzzers(afl_state_t *); +u32 write_to_testcase(afl_state_t *, void *, u32, u32); +u8 calibrate_case(afl_state_t *, struct queue_entry *, u8 *, u32, u8); u8 trim_case(afl_state_t *, struct queue_entry *, u8 *); u8 common_fuzz_stuff(afl_state_t *, u8 *, u32); +fsrv_run_result_t fuzz_run_target(afl_state_t *, afl_forkserver_t *fsrv, u32); /* Fuzz one */ |