diff options
author | van Hauser <vh@thc.org> | 2020-08-01 19:43:29 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-08-01 19:43:29 +0200 |
commit | b708cf7d45edd0297ff47b89dd95dcf5e3664a40 (patch) | |
tree | 8440209ea02425a34d9938430eafe78a7d7fb9d8 /llvm_mode/afl-llvm-lto-instrim.so.cc | |
parent | a267ff1ab58ed29a39133309904e1c6eb7c1ea3f (diff) | |
download | afl++-b708cf7d45edd0297ff47b89dd95dcf5e3664a40.tar.gz |
fix lto single block and no zero
Diffstat (limited to 'llvm_mode/afl-llvm-lto-instrim.so.cc')
-rw-r--r-- | llvm_mode/afl-llvm-lto-instrim.so.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm_mode/afl-llvm-lto-instrim.so.cc b/llvm_mode/afl-llvm-lto-instrim.so.cc index 880963ac..dba98777 100644 --- a/llvm_mode/afl-llvm-lto-instrim.so.cc +++ b/llvm_mode/afl-llvm-lto-instrim.so.cc @@ -701,7 +701,7 @@ struct InsTrimLTO : public ModulePass { Value *Incr = IRB.CreateAdd(Counter, One); - if (skip_nozero) { + if (skip_nozero == NULL) { auto cf = IRB.CreateICmpEQ(Incr, Zero); auto carry = IRB.CreateZExt(cf, Int8Ty); |