Skip to content
Snippets Groups Projects
Commit 4cccdb89 authored by van Hauser's avatar van Hauser
Browse files

fix for instrim (not the important one)

parent b98a5de3
Branches
Tags
No related merge requests found
...@@ -22,6 +22,7 @@ sending a mail to <afl-users+subscribe@googlegroups.com>. ...@@ -22,6 +22,7 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
- changed execs_per_sec in fuzzer_stats from "current" execs per second - changed execs_per_sec in fuzzer_stats from "current" execs per second
(which is pointless) to total execs per second (which is pointless) to total execs per second
- bugfix for dictionary insert stage count (fix via Google repo PR) - bugfix for dictionary insert stage count (fix via Google repo PR)
- llvm_mode InsTrim: no pointless instrumentation of 1 block functions
- afl-clang-fast: - afl-clang-fast:
- show in the help output for which llvm version it was compiled for - show in the help output for which llvm version it was compiled for
- now does not need to be recompiled between trace-pc and pass - now does not need to be recompiled between trace-pc and pass
......
...@@ -175,7 +175,8 @@ struct InsTrim : public ModulePass { ...@@ -175,7 +175,8 @@ struct InsTrim : public ModulePass {
for (Function &F : M) { for (Function &F : M) {
if (!F.size()) { continue; } // if it is external or only contains one basic block: skip it
if (F.size() < 2) { continue; }
if (!myWhitelist.empty()) { if (!myWhitelist.empty()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment