diff options
author | van Hauser <vh@thc.org> | 2020-08-14 06:46:22 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-08-14 06:46:22 +0200 |
commit | 32fe047894cc241eb9c1b53e4b2b791ca9b145d1 (patch) | |
tree | c368ed333849ae56677a321975aa0a4875a72fe2 /llvm_mode/afl-llvm-lto-instrumentation.so.cc | |
parent | d1bc0207cc6e579fe914dcbb0b70653783b64598 (diff) | |
download | afl++-32fe047894cc241eb9c1b53e4b2b791ca9b145d1.tar.gz |
fix AFL_LLVM_MAP_DYNAMIC
Diffstat (limited to 'llvm_mode/afl-llvm-lto-instrumentation.so.cc')
-rw-r--r-- | llvm_mode/afl-llvm-lto-instrumentation.so.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm_mode/afl-llvm-lto-instrumentation.so.cc b/llvm_mode/afl-llvm-lto-instrumentation.so.cc index 6bd232ab..13c4f775 100644 --- a/llvm_mode/afl-llvm-lto-instrumentation.so.cc +++ b/llvm_mode/afl-llvm-lto-instrumentation.so.cc @@ -150,7 +150,7 @@ bool AFLLTOPass::runOnModule(Module &M) { map_addr = 0; - } else if (map_addr == 0) { + } else if (getenv("AFL_LLVM_MAP_DYNAMIC")) { FATAL( "AFL_LLVM_MAP_ADDR and AFL_LLVM_MAP_DYNAMIC cannot be used together"); |