diff options
author | hexcoder- <heiko@hexco.de> | 2021-01-04 22:23:04 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2021-01-04 22:23:04 +0100 |
commit | 7f4b3a460a0b4f83e9039b57c033f6f43be08550 (patch) | |
tree | 103d54bd62478660e3639525f72ffd4b2d1a2d13 /instrumentation/afl-llvm-dict2file.so.cc | |
parent | 251e72f13654b5259f57075c7dffcc3a43372449 (diff) | |
download | afl++-7f4b3a460a0b4f83e9039b57c033f6f43be08550.tar.gz |
more code cleanup (instrumentation)
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; |