summaryrefslogtreecommitdiffhomepage
path: root/fuzz/fuzzer-preauth_nomaths.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-10-23 23:10:20 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-10-23 23:10:20 +0800
commitf37def57b089a884df51072cb24e830701ecbeaa (patch)
tree12017ee2c70c8a0c1dfe98c59029e0015a7463a0 /fuzz/fuzzer-preauth_nomaths.c
parent1a208c460b412113704c4d5f98585017ee0a6ccf (diff)
Move fuzzing code to fuzz/ subdirectory, improve Makefile.in
Diffstat (limited to 'fuzz/fuzzer-preauth_nomaths.c')
-rw-r--r--fuzz/fuzzer-preauth_nomaths.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fuzz/fuzzer-preauth_nomaths.c b/fuzz/fuzzer-preauth_nomaths.c
new file mode 100644
index 0000000..efdc2c3
--- /dev/null
+++ b/fuzz/fuzzer-preauth_nomaths.c
@@ -0,0 +1,6 @@
+#include "fuzz.h"
+
+int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
+ return fuzz_run_preauth(Data, Size, 1);
+}
+