diff options
| author | Dominik Maier <dmnk@google.com> | 2022-03-31 15:35:38 +0000 |
|---|---|---|
| committer | Dominik Maier <dmnk@google.com> | 2022-03-31 15:36:26 +0000 |
| commit | 285a5cb38b994b514744c49bad409a49210765d4 (patch) | |
| tree | 3c2b194865469a57ec40de886a7b0737eec799f0 /instrumentation/afl-llvm-dict2file.so.cc | |
| parent | 51dbd0e9571db5404b7c74169965367800b093db (diff) | |
| download | afl++-285a5cb38b994b514744c49bad409a49210765d4.tar.gz | |
Some scan-build fixes
Diffstat (limited to 'instrumentation/afl-llvm-dict2file.so.cc')
| -rw-r--r-- | instrumentation/afl-llvm-dict2file.so.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/instrumentation/afl-llvm-dict2file.so.cc b/instrumentation/afl-llvm-dict2file.so.cc index 79cdf491..31aaab07 100644 --- a/instrumentation/afl-llvm-dict2file.so.cc +++ b/instrumentation/afl-llvm-dict2file.so.cc @@ -536,15 +536,17 @@ bool AFLdict2filePass::runOnModule(Module &M) { } - if (optLength > Str2.length()) { optLength = Str2.length(); } - } valueMap[Str1P] = new std::string(Str2); - if (debug) + if (debug) { + fprintf(stderr, "Saved: %s for %p\n", Str2.c_str(), (void *)Str1P); + + } + continue; } |
