diff options
| author | van Hauser <vh@thc.org> | 2021-01-08 15:43:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-08 15:43:13 +0100 |
| commit | 20a47cb23e9c6406b4a6c0c94783667a8b06316a (patch) | |
| tree | 1aeeb9555be23bb55b888e134e5ca50929387236 /instrumentation/afl-llvm-dict2file.so.cc | |
| parent | 7b8c8cf12fde0feab25a1d794e010a5778cf9be8 (diff) | |
| parent | 813627cbd32be9466e0b5ad3a83ce8209dcfeb51 (diff) | |
| download | afl++-20a47cb23e9c6406b4a6c0c94783667a8b06316a.tar.gz | |
Merge pull request #679 from AFLplusplus/dev
Dev
Diffstat (limited to 'instrumentation/afl-llvm-dict2file.so.cc')
| -rw-r--r-- | instrumentation/afl-llvm-dict2file.so.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/instrumentation/afl-llvm-dict2file.so.cc b/instrumentation/afl-llvm-dict2file.so.cc index bd8eb27a..a4b33732 100644 --- a/instrumentation/afl-llvm-dict2file.so.cc +++ b/instrumentation/afl-llvm-dict2file.so.cc @@ -355,7 +355,8 @@ bool AFLdict2filePass::runOnModule(Module &M) { *Str2P = callInst->getArgOperand(1); std::string Str1, Str2; StringRef TmpStr; - bool HasStr1 = getConstantStringInfo(Str1P, TmpStr); + bool HasStr1; + getConstantStringInfo(Str1P, TmpStr); if (TmpStr.empty()) { HasStr1 = false; @@ -367,7 +368,8 @@ bool AFLdict2filePass::runOnModule(Module &M) { } - bool HasStr2 = getConstantStringInfo(Str2P, TmpStr); + bool HasStr2; + getConstantStringInfo(Str2P, TmpStr); if (TmpStr.empty()) { HasStr2 = false; |
