summaryrefslogtreecommitdiff
path: root/test/fuzzer/EmptyTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/fuzzer/EmptyTest.cpp')
-rw-r--r--test/fuzzer/EmptyTest.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/fuzzer/EmptyTest.cpp b/test/fuzzer/EmptyTest.cpp
new file mode 100644
index 0000000000000..5e843308fa570
--- /dev/null
+++ b/test/fuzzer/EmptyTest.cpp
@@ -0,0 +1,11 @@
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+// A fuzzer with empty target function.
+
+#include <cstdint>
+#include <cstdlib>
+
+extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
+ return 0;
+}