aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Fuzzer/test/SimpleTest.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2015-05-07 00:11:33 +0000
committerKostya Serebryany <kcc@google.com>2015-05-07 00:11:33 +0000
commita407ddef279b2ed5cedf305fbda3b9134b7a9559 (patch)
tree8d58070951f9feb5875bfed0a1630dd8a82df188 /llvm/lib/Fuzzer/test/SimpleTest.cpp
parentfb8cf4087d21a56186426fe8339bf25e47a4001b (diff)
downloadllvm-a407ddef279b2ed5cedf305fbda3b9134b7a9559.zip
llvm-a407ddef279b2ed5cedf305fbda3b9134b7a9559.tar.gz
llvm-a407ddef279b2ed5cedf305fbda3b9134b7a9559.tar.bz2
[lib/Fuzzer] add dfsan_weak_hook_memcmp, enable the test that uses it, simplify the test runner
llvm-svn: 236683
Diffstat (limited to 'llvm/lib/Fuzzer/test/SimpleTest.cpp')
-rw-r--r--llvm/lib/Fuzzer/test/SimpleTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/test/SimpleTest.cpp b/llvm/lib/Fuzzer/test/SimpleTest.cpp
index 4e35018..a891635 100644
--- a/llvm/lib/Fuzzer/test/SimpleTest.cpp
+++ b/llvm/lib/Fuzzer/test/SimpleTest.cpp
@@ -12,7 +12,7 @@ extern "C" void LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
if (Size > 1 && Data[1] == 'i') {
Sink = 2;
if (Size > 2 && Data[2] == '!') {
- std::cout << "Found the target, exiting\n";
+ std::cout << "BINGO; Found the target, exiting\n";
exit(0);
}
}