aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-08-20 18:27:22 +0200
committervan Hauser <vh@thc.org>2020-08-20 18:27:22 +0200
commitd52ea44c277adec06ac7b78241fbc356665f76de (patch)
tree391f4d333c9048a5778ac34fcb87ee8340a7dfc6
parent9c1b6cfb9998f78ae9ab5ce149c6e94d2863365e (diff)
downloadafl++-d52ea44c277adec06ac7b78241fbc356665f76de.tar.gz
fix wrong var
-rw-r--r--llvm_mode/afl-clang-fast.c5
-rw-r--r--llvm_mode/afl-llvm-lto-instrumentation.so.cc2
2 files changed, 3 insertions, 4 deletions
diff --git a/llvm_mode/afl-clang-fast.c b/llvm_mode/afl-clang-fast.c
index 72b81922..960c7a99 100644
--- a/llvm_mode/afl-clang-fast.c
+++ b/llvm_mode/afl-clang-fast.c
@@ -992,9 +992,8 @@ int main(int argc, char **argv, char **envp) {
"AFL_LLVM_LAF_TRANSFORM_COMPARES: transform library comparison "
"function calls\n"
"AFL_LLVM_LAF_ALL: enables all LAF splits/transforms\n"
- "AFL_LLVM_INSTRUMENT_FILE: enable the instrument file listing "
- "(selective "
- "instrumentation)\n"
+ "AFL_LLVM_INSTRUMENT_ALLOW/AFL_LLVM_INSTRUMENT_DENY: enable instrument"
+ "allow/deny listing (selective instrumentation)\n"
"AFL_NO_BUILTIN: compile for use with libtokencap.so\n"
"AFL_PATH: path to instrumenting pass and runtime "
"(afl-llvm-rt.*o)\n"
diff --git a/llvm_mode/afl-llvm-lto-instrumentation.so.cc b/llvm_mode/afl-llvm-lto-instrumentation.so.cc
index 10482705..18bee7a5 100644
--- a/llvm_mode/afl-llvm-lto-instrumentation.so.cc
+++ b/llvm_mode/afl-llvm-lto-instrumentation.so.cc
@@ -621,7 +621,7 @@ bool AFLLTOPass::runOnModule(Module &M) {
int skip = 0;
for (uint32_t k = 0; k < BlockList.size(); k++) {
- if (origBB == BlockList[k]) {
+ if (&BB == BlockList[k]) {
if (debug)
fprintf(stderr,