about summary refs log tree commit diff
path: root/llvm_mode/SanitizerCoverageLTO.so.cc
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-08-20 18:57:05 +0200
committervan Hauser <vh@thc.org>2020-08-20 18:57:05 +0200
commit4ce5ed370a1c18c8c7d7f6ad4fa029a34e1326e4 (patch)
tree107c1d6e552c01001d6c53f20376b3ef46673e31 /llvm_mode/SanitizerCoverageLTO.so.cc
parentf7bac482e9bae7b835ef014dabcea87408d80880 (diff)
downloadafl++-4ce5ed370a1c18c8c7d7f6ad4fa029a34e1326e4.tar.gz
LTO: sancov made default, deprecated SKIPSINGLEBLOCK, deactivate LTO autodict for cmplog binaries
Diffstat (limited to 'llvm_mode/SanitizerCoverageLTO.so.cc')
-rw-r--r--llvm_mode/SanitizerCoverageLTO.so.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm_mode/SanitizerCoverageLTO.so.cc b/llvm_mode/SanitizerCoverageLTO.so.cc
index 412582fa..95834a36 100644
--- a/llvm_mode/SanitizerCoverageLTO.so.cc
+++ b/llvm_mode/SanitizerCoverageLTO.so.cc
@@ -425,6 +425,8 @@ bool ModuleSanitizerCoverage::instrumentModule(
     if ((afl_global_id = atoi(ptr)) < 0)
       FATAL("AFL_LLVM_LTO_STARTID value of \"%s\" is negative\n", ptr);
 
+  if (getenv("AFL_LLVM_CMPLOG")) autodictionary = 0;
+
   if ((ptr = getenv("AFL_LLVM_DOCUMENT_IDS")) != NULL) {
 
     if ((documentFile = fopen(ptr, "a")) == NULL)