summaryrefslogtreecommitdiffhomepage
path: root/fuzz-harness.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-05-13 22:50:54 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-05-13 22:50:54 +0800
commitfb719e3d0ba3571d3abc5638d1fbbe9e1675d6a7 (patch)
tree7a72eeedf1e3c89258e1e35057f737f1d0176f9c /fuzz-harness.c
parent9f24cdf74c93aa75416687972e69b5b4c8be2698 (diff)
fuzz harness
--HG-- branch : fuzz
Diffstat (limited to 'fuzz-harness.c')
-rw-r--r--fuzz-harness.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/fuzz-harness.c b/fuzz-harness.c
new file mode 100644
index 0000000..19b01e3
--- /dev/null
+++ b/fuzz-harness.c
@@ -0,0 +1,8 @@
+#include "includes.h"
+
+extern int LLVMFuzzerTestOneInput(const unsigned char *data, size_t size);
+
+int main(int argc, char ** argv) {
+ LLVMFuzzerTestOneInput("hello", 5);
+ return 0;
+}