diff options
author | van Hauser <vh@thc.org> | 2024-05-11 09:16:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-11 09:16:21 +0200 |
commit | 90fbf59bf16f057e50132b81be759414787ce1a3 (patch) | |
tree | e57ec2ff73da06776f6cf9c20eb907a8c5aebf05 /instrumentation/SanitizerCoverageLTO.so.cc | |
parent | ad0d0c77fb313e6edfee111fecf2bcd16d8f915e (diff) | |
parent | 93c7cbd49603c1a256caf3ab6e971c9f4e40bab4 (diff) | |
download | afl++-90fbf59bf16f057e50132b81be759414787ce1a3.tar.gz |
Merge pull request #2084 from AFLplusplus/dev
push to stable
Diffstat (limited to 'instrumentation/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); } |