summaryrefslogtreecommitdiff
path: root/fuzzers/standalone_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'fuzzers/standalone_driver.h')
-rw-r--r--fuzzers/standalone_driver.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/fuzzers/standalone_driver.h b/fuzzers/standalone_driver.h
new file mode 100644
index 000000000..507fcb9fd
--- /dev/null
+++ b/fuzzers/standalone_driver.h
@@ -0,0 +1,14 @@
+/*
+ * Copyright (C) the libgit2 contributors. All rights reserved.
+ *
+ * This file is part of libgit2, distributed under the GNU GPL v2 with
+ * a Linking Exception. For full terms see the included COPYING file.
+ */
+
+#ifndef INCLUDE_standalone_driver_h__
+#define INCLUDE_standalone_driver_h__
+
+extern int LLVMFuzzerTestOneInput(const unsigned char *data, size_t size);
+extern int LLVMFuzzerInitialize(int *argc, char ***argv);
+
+#endif