diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:46:15 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:46:15 +0000 |
| commit | dd58ef019b700900793a1eb48b52123db01b654e (patch) | |
| tree | fcfbb4df56a744f4ddc6122c50521dd3f1c5e196 /lib/Fuzzer/test/DFSanMemcmpTest.cpp | |
| parent | 2fe5752e3a7c345cdb59e869278d36af33c13fa4 (diff) | |
Notes
Diffstat (limited to 'lib/Fuzzer/test/DFSanMemcmpTest.cpp')
| -rw-r--r-- | lib/Fuzzer/test/DFSanMemcmpTest.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Fuzzer/test/DFSanMemcmpTest.cpp b/lib/Fuzzer/test/DFSanMemcmpTest.cpp deleted file mode 100644 index 510a24398005e..0000000000000 --- a/lib/Fuzzer/test/DFSanMemcmpTest.cpp +++ /dev/null @@ -1,12 +0,0 @@ -// Simple test for a fuzzer. The fuzzer must find a particular string. -#include <cstring> -#include <cstdint> -#include <cstdio> -#include <cstdlib> - -extern "C" void LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { - if (Size >= 8 && memcmp(Data, "01234567", 8) == 0) { - fprintf(stderr, "BINGO\n"); - exit(1); - } -} |
