aboutsummaryrefslogtreecommitdiff
path: root/tests/fuzz/testinput.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fuzz/testinput.h')
-rw-r--r--tests/fuzz/testinput.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/fuzz/testinput.h b/tests/fuzz/testinput.h
new file mode 100644
index 000000000..0746cba73
--- /dev/null
+++ b/tests/fuzz/testinput.h
@@ -0,0 +1,23 @@
+/***************************************************************************
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
+ * \___|\___/|_| \_\_____|
+ *
+ * Copyright (C) 2017, Max Dymond, <cmeister2@gmail.com>, et al.
+ *
+ * This software is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at https://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
+
+extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size); \ No newline at end of file