summaryrefslogtreecommitdiffstats
path: root/ossfuzz/testinput.h
diff options
context:
space:
mode:
Diffstat (limited to 'ossfuzz/testinput.h')
-rw-r--r--ossfuzz/testinput.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/ossfuzz/testinput.h b/ossfuzz/testinput.h
new file mode 100644
index 0000000..0e50a3c
--- /dev/null
+++ b/ossfuzz/testinput.h
@@ -0,0 +1,15 @@
+#ifndef TESTINPUT_H_INCLUDED
+#define TESTINPUT_H_INCLUDED
+
+#include <inttypes.h>
+
+#if defined (__cplusplus)
+extern "C" {
+#endif
+
+int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
+
+#if defined(__cplusplus)
+}
+#endif
+#endif