diff options
author | van Hauser <vh@thc.org> | 2020-04-23 07:28:25 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-04-23 07:28:25 +0200 |
commit | 3502db1ac56028f2c35c34e21e70333239f398e1 (patch) | |
tree | c9998401f12a961138dc87630da46c74fcd97848 /llvm_mode/afl-llvm-lto-instrumentation.so.cc | |
parent | df8a0e84184a408a463c29443cfa3ee9fa556896 (diff) | |
download | afl++-3502db1ac56028f2c35c34e21e70333239f398e1.tar.gz |
more sanitizer functions for blacklist
Diffstat (limited to 'llvm_mode/afl-llvm-lto-instrumentation.so.cc')
-rw-r--r-- | llvm_mode/afl-llvm-lto-instrumentation.so.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm_mode/afl-llvm-lto-instrumentation.so.cc b/llvm_mode/afl-llvm-lto-instrumentation.so.cc index ece3201f..eae60ccd 100644 --- a/llvm_mode/afl-llvm-lto-instrumentation.so.cc +++ b/llvm_mode/afl-llvm-lto-instrumentation.so.cc @@ -134,8 +134,8 @@ class AFLLTOPass : public ModulePass { static const char *Blacklist[] = { - "asan.", "llvm.", "sancov.", "__ubsan_handle_", "ign.", - "__afl_", "_fini", "__libc_csu" + "asan.", "llvm.", "sancov.", "__ubsan_handle_", "ign.", "__afl_", + "_fini", "__libc_csu", "__asan", "__msan", "msan." }; @@ -202,6 +202,8 @@ bool AFLLTOPass::runOnModule(Module &M) { for (auto &F : M) { + //fprintf(stderr, "DEBUG: Function %s\n", F.getName().str().c_str()); + if (F.size() < 2) continue; if (isBlacklisted(&F)) continue; |