summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/test/FourIndependentBranchesTest.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2017-07-19 23:45:46 +0000
committerKostya Serebryany <kcc@google.com>2017-07-19 23:45:46 +0000
commita168af7b5fa5143e511aac50fe3782f8da12ab3a (patch)
tree4e109a34f561f86de3a1afbd79e6cf89e059763b /llvm/lib/Fuzzer/test/FourIndependentBranchesTest.cpp
parent388f88070eaefaab233f7aeaca98987fd7b042b0 (diff)
downloadbcm5719-llvm-a168af7b5fa5143e511aac50fe3782f8da12ab3a.tar.gz
bcm5719-llvm-a168af7b5fa5143e511aac50fe3782f8da12ab3a.zip
[libFuzzer] change several tests to not limit the max len: with reduce_inputs=1 they are now fast enough even w/o this
llvm-svn: 308553
Diffstat (limited to 'llvm/lib/Fuzzer/test/FourIndependentBranchesTest.cpp')
-rw-r--r--llvm/lib/Fuzzer/test/FourIndependentBranchesTest.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/test/FourIndependentBranchesTest.cpp b/llvm/lib/Fuzzer/test/FourIndependentBranchesTest.cpp
index ba963d9b1de..bbf5ea235c7 100644
--- a/llvm/lib/Fuzzer/test/FourIndependentBranchesTest.cpp
+++ b/llvm/lib/Fuzzer/test/FourIndependentBranchesTest.cpp
@@ -8,7 +8,6 @@
#include <iostream>
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
- if (Size > 64) return 0;
int bits = 0;
if (Size > 0 && Data[0] == 'F') bits |= 1;
if (Size > 1 && Data[1] == 'U') bits |= 2;
OpenPOWER on IntegriCloud