diff options
Diffstat (limited to 'test/fuzzer/NullDerefTest.cpp')
-rw-r--r-- | test/fuzzer/NullDerefTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 <cstddef> #include <cstdint> #include <cstdlib> -#include <iostream> +#include <cstdio> 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; } } |