summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/test/FuzzerUnittest.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2016-07-15 23:27:19 +0000
committerKostya Serebryany <kcc@google.com>2016-07-15 23:27:19 +0000
commitc135b55ae07816fa77106284231660518f867c2a (patch)
treed2c7927596c08676d710a790e221e0cd182484db /llvm/lib/Fuzzer/test/FuzzerUnittest.cpp
parent38202c02f0a9011e055b2dd240e0a1afed2f9c32 (diff)
downloadbcm5719-llvm-c135b55ae07816fa77106284231660518f867c2a.tar.gz
bcm5719-llvm-c135b55ae07816fa77106284231660518f867c2a.zip
[libFuzzer] add hooks for strstr, strcasestr, strcasecmp, strncasecmp
llvm-svn: 275648
Diffstat (limited to 'llvm/lib/Fuzzer/test/FuzzerUnittest.cpp')
-rw-r--r--llvm/lib/Fuzzer/test/FuzzerUnittest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/test/FuzzerUnittest.cpp b/llvm/lib/Fuzzer/test/FuzzerUnittest.cpp
index 3630e39a24a..3fd87e5b9e0 100644
--- a/llvm/lib/Fuzzer/test/FuzzerUnittest.cpp
+++ b/llvm/lib/Fuzzer/test/FuzzerUnittest.cpp
@@ -311,7 +311,7 @@ void TestAddWordFromDictionaryWithHint(Mutator M, int NumIter) {
MutationDispatcher MD(Rand, {});
uint8_t W[] = {0xAA, 0xBB, 0xCC, 0xDD, 0xFF, 0xEE, 0xEF};
size_t PosHint = 7777;
- MD.AddWordToAutoDictionary(Word(W, sizeof(W)), PosHint);
+ MD.AddWordToAutoDictionary({Word(W, sizeof(W)), PosHint});
int FoundMask = 0;
for (int i = 0; i < NumIter; i++) {
uint8_t T[10000];
OpenPOWER on IntegriCloud