summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/test/AbsNegAndConstant64Test.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/AbsNegAndConstant64Test.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/AbsNegAndConstant64Test.cpp')
-rw-r--r--llvm/lib/Fuzzer/test/AbsNegAndConstant64Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/test/AbsNegAndConstant64Test.cpp b/llvm/lib/Fuzzer/test/AbsNegAndConstant64Test.cpp
index b5a61ddca71..dfb6007b797 100644
--- a/llvm/lib/Fuzzer/test/AbsNegAndConstant64Test.cpp
+++ b/llvm/lib/Fuzzer/test/AbsNegAndConstant64Test.cpp
@@ -9,7 +9,7 @@
#include <cstring>
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
- if (Size < 16 || Size > 64) return 0;
+ if (Size < 16) return 0;
int64_t x;
uint64_t y;
memcpy(&x, Data, sizeof(x));
OpenPOWER on IntegriCloud