[llvm] r252658 - [libFuzzer] add UninstrumentedTest.cpp (missing from a previous commit)

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 10 14:02:56 PST 2015


Author: kcc
Date: Tue Nov 10 16:02:56 2015
New Revision: 252658

URL: http://llvm.org/viewvc/llvm-project?rev=252658&view=rev
Log:
[libFuzzer] add UninstrumentedTest.cpp (missing from a previous commit)

Added:
    llvm/trunk/lib/Fuzzer/test/UninstrumentedTest.cpp

Added: llvm/trunk/lib/Fuzzer/test/UninstrumentedTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/test/UninstrumentedTest.cpp?rev=252658&view=auto
==============================================================================
--- llvm/trunk/lib/Fuzzer/test/UninstrumentedTest.cpp (added)
+++ llvm/trunk/lib/Fuzzer/test/UninstrumentedTest.cpp Tue Nov 10 16:02:56 2015
@@ -0,0 +1,8 @@
+// This test should not be instrumented.
+#include <cstdint>
+#include <cstddef>
+
+extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
+  return 0;
+}
+




More information about the llvm-commits mailing list