Mercurial > dropbear
diff fuzz.h @ 1377:d4cc85e6c569 fuzz
rearrange, all fuzzers now call fuzzer_set_input()
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 25 May 2017 22:21:49 +0800 |
parents | ddfcadca3c4c |
children | f03cfe9c76ac |
line wrap: on
line diff
--- a/fuzz.h Thu May 25 22:21:23 2017 +0800 +++ b/fuzz.h Thu May 25 22:21:49 2017 +0800 @@ -13,7 +13,8 @@ void common_setup_fuzzer(void); void svr_setup_fuzzer(void); -// once per input. returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE +// must be called once per fuzz iteration. +// returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE int fuzzer_set_input(const uint8_t *Data, size_t Size); // fuzzer functions that intrude into general code