diff options
author | van Hauser <vh@thc.org> | 2020-08-20 18:57:05 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-08-20 18:57:05 +0200 |
commit | 4ce5ed370a1c18c8c7d7f6ad4fa029a34e1326e4 (patch) | |
tree | 107c1d6e552c01001d6c53f20376b3ef46673e31 /llvm_mode/afl-llvm-lto-instrumentation.so.cc | |
parent | f7bac482e9bae7b835ef014dabcea87408d80880 (diff) | |
download | afl++-4ce5ed370a1c18c8c7d7f6ad4fa029a34e1326e4.tar.gz |
LTO: sancov made default, deprecated SKIPSINGLEBLOCK, deactivate LTO autodict for cmplog binaries
Diffstat (limited to 'llvm_mode/afl-llvm-lto-instrumentation.so.cc')
-rw-r--r-- | llvm_mode/afl-llvm-lto-instrumentation.so.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm_mode/afl-llvm-lto-instrumentation.so.cc b/llvm_mode/afl-llvm-lto-instrumentation.so.cc index 18bee7a5..12509ab2 100644 --- a/llvm_mode/afl-llvm-lto-instrumentation.so.cc +++ b/llvm_mode/afl-llvm-lto-instrumentation.so.cc @@ -128,6 +128,8 @@ bool AFLLTOPass::runOnModule(Module &M) { be_quiet = 1; + if (getenv("AFL_LLVM_CMPLOG")) autodictionary = 0; + if ((ptr = getenv("AFL_LLVM_DOCUMENT_IDS")) != NULL) { if ((documentFile = fopen(ptr, "a")) == NULL) @@ -142,8 +144,6 @@ bool AFLLTOPass::runOnModule(Module &M) { /*if (getenv("AFL_LLVM_MAP_DYNAMIC"))*/ map_addr = 0; - if (getenv("AFL_LLVM_SKIPSINGLEBLOCK")) function_minimum_size = 2; - if ((ptr = getenv("AFL_LLVM_MAP_ADDR"))) { uint64_t val; |