From f46892192068bf16984d429dbeb4123c12c47eca Mon Sep 17 00:00:00 2001 From: Kostya Serebryany Date: Thu, 7 Jun 2018 01:18:43 +0000 Subject: [libFuzzer] simplify a test, hopefully to fix the bot git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@334156 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/fuzzer/NullDerefTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/fuzzer/NullDerefTest.cpp b/test/fuzzer/NullDerefTest.cpp index 1b44b682a..48df0f54c 100644 --- a/test/fuzzer/NullDerefTest.cpp +++ b/test/fuzzer/NullDerefTest.cpp @@ -5,7 +5,7 @@ #include #include #include -#include +#include static volatile int Sink; static volatile int *Null = 0; @@ -16,7 +16,7 @@ extern "C" int 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, dereferencing NULL\n"; + printf("Found the target, dereferencing NULL\n"); *Null = 1; } } -- cgit v1.2.3