diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2015-01-29 15:49:22 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2015-01-29 15:49:22 +0000 |
commit | 7b54ed221a20d30b6a67f4544b75da5b6d4d4380 (patch) | |
tree | b953ad1d38f66558e8f776232e4c601a34507c77 /llvm/lib/Fuzzer/test/TimeoutTest.cpp | |
parent | 4b2f17a1d333ba539b219c400000d1ca2be4c7a4 (diff) | |
download | bcm5719-llvm-7b54ed221a20d30b6a67f4544b75da5b6d4d4380.tar.gz bcm5719-llvm-7b54ed221a20d30b6a67f4544b75da5b6d4d4380.zip |
Temporarily reverting the fuzzer library as it causes too many build issues for MSVC users. This reverts: 227445, 227395, 227389, 227357, 227254, 227252
llvm-svn: 227452
Diffstat (limited to 'llvm/lib/Fuzzer/test/TimeoutTest.cpp')
-rw-r--r-- | llvm/lib/Fuzzer/test/TimeoutTest.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/llvm/lib/Fuzzer/test/TimeoutTest.cpp b/llvm/lib/Fuzzer/test/TimeoutTest.cpp deleted file mode 100644 index 266ead646a5..00000000000 --- a/llvm/lib/Fuzzer/test/TimeoutTest.cpp +++ /dev/null @@ -1,22 +0,0 @@ -// Simple test for a fuzzer. The fuzzer must find the string "Hi!". -#include <cstdint> -#include <cstdlib> -#include <cstddef> -#include <iostream> - -static volatile int Sink; - -extern "C" void TestOneInput(const uint8_t *Data, size_t Size) { - if (Size > 0 && Data[0] == 'H') { - Sink = 1; - if (Size > 1 && Data[1] == 'i') { - Sink = 2; - if (Size > 2 && Data[2] == '!') { - Size = 2; - while (Sink) - ; - } - } - } -} - |