summaryrefslogtreecommitdiffhomepage
path: root/fuzz/fuzzer-client.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-client.c
parent1a208c460b412113704c4d5f98585017ee0a6ccf (diff)
Move fuzzing code to fuzz/ subdirectory, improve Makefile.in
Diffstat (limited to 'fuzz/fuzzer-client.c')
-rw-r--r--fuzz/fuzzer-client.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fuzz/fuzzer-client.c b/fuzz/fuzzer-client.c
new file mode 100644
index 0000000..eb59f46
--- /dev/null
+++ b/fuzz/fuzzer-client.c
@@ -0,0 +1,6 @@
+#include "fuzz.h"
+
+int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
+ return fuzz_run_client(Data, Size, 0);
+}
+