diff fuzz-harness.c @ 1348:5c2899e35b63 fuzz

fuzz harness
author Matt Johnston <matt@ucc.asn.au>
date Sat, 13 May 2017 22:50:54 +0800
parents
children 7618759e9327
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fuzz-harness.c	Sat May 13 22:50:54 2017 +0800
@@ -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;
+}