about summary refs log tree commit diff
path: root/llvm_mode/afl-llvm-lto-instrumentation.so.cc
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 /llvm_mode/afl-llvm-lto-instrumentation.so.cc
parent9c1b6cfb9998f78ae9ab5ce149c6e94d2863365e (diff)
downloadafl++-d52ea44c277adec06ac7b78241fbc356665f76de.tar.gz
fix wrong var
Diffstat (limited to 'llvm_mode/afl-llvm-lto-instrumentation.so.cc')
-rw-r--r--llvm_mode/afl-llvm-lto-instrumentation.so.cc2
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 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,