diff options
| author | Kostya Serebryany <kcc@google.com> | 2015-11-10 22:02:56 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2015-11-10 22:02:56 +0000 |
| commit | b7e286bed7d7e7c044a54785f30ca26894fda6b2 (patch) | |
| tree | 753cd65b7019baff8f2afc88f41bc3dde5838863 /llvm/lib/Fuzzer/test | |
| parent | 5d16a4752f1f8b2cb504de80838412ac081a1e87 (diff) | |
| download | bcm5719-llvm-b7e286bed7d7e7c044a54785f30ca26894fda6b2.tar.gz bcm5719-llvm-b7e286bed7d7e7c044a54785f30ca26894fda6b2.zip | |
[libFuzzer] add UninstrumentedTest.cpp (missing from a previous commit)
llvm-svn: 252658
Diffstat (limited to 'llvm/lib/Fuzzer/test')
| -rw-r--r-- | llvm/lib/Fuzzer/test/UninstrumentedTest.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/test/UninstrumentedTest.cpp b/llvm/lib/Fuzzer/test/UninstrumentedTest.cpp new file mode 100644 index 00000000000..c1730198d83 --- /dev/null +++ b/llvm/lib/Fuzzer/test/UninstrumentedTest.cpp @@ -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; +} + |

