summaryrefslogtreecommitdiffhomepage
path: root/fuzz.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-05-25 22:21:49 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-05-25 22:21:49 +0800
commitb8fa71284709e4cbaef7398dc9fc17155f8d2f7a (patch)
tree2c6cab9ca77900a081a9936c3e550cbb63c67f78 /fuzz.h
parent095b067857df04ea498e7adf76dc0380d7deeb1d (diff)
rearrange, all fuzzers now call fuzzer_set_input()
--HG-- branch : fuzz
Diffstat (limited to 'fuzz.h')
-rw-r--r--fuzz.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fuzz.h b/fuzz.h
index 8a55976..ae1a3dc 100644
--- a/fuzz.h
+++ b/fuzz.h
@@ -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