diff options
author | van Hauser <vh@thc.org> | 2024-04-29 17:11:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-29 17:11:41 +0200 |
commit | 69e554b9413b526b4e801080df57377cd260827a (patch) | |
tree | 3a6c31f0c4b62d715f5924577bff726466120b71 | |
parent | 67d356b73fe163fcaa8227bb1024df706ee335e7 (diff) | |
parent | 7340374a7c45f14f8e9ccb4077f2294565cdc140 (diff) | |
download | afl++-69e554b9413b526b4e801080df57377cd260827a.tar.gz |
Merge pull request #2074 from Kiprey/patch-2
Fix wrong warning in SanitizerCoverageLTO.so.cc
-rw-r--r-- | instrumentation/SanitizerCoverageLTO.so.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/SanitizerCoverageLTO.so.cc b/instrumentation/SanitizerCoverageLTO.so.cc index 14482deb..a09f28a9 100644 --- a/instrumentation/SanitizerCoverageLTO.so.cc +++ b/instrumentation/SanitizerCoverageLTO.so.cc @@ -486,7 +486,7 @@ bool ModuleSanitizerCoverageLTO::instrumentModule( if ((ptr = getenv("AFL_LLVM_DOCUMENT_IDS")) != NULL) { dFile.open(ptr, std::ofstream::out | std::ofstream::app); - if (dFile.is_open()) WARNF("Cannot access document file %s", ptr); + if (!dFile.is_open()) WARNF("Cannot access document file %s", ptr); } |