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-04-23 07:28:25 +0200
committervan Hauser <vh@thc.org>2020-04-23 07:28:25 +0200
commit3502db1ac56028f2c35c34e21e70333239f398e1 (patch)
treec9998401f12a961138dc87630da46c74fcd97848 /llvm_mode/afl-llvm-lto-instrumentation.so.cc
parentdf8a0e84184a408a463c29443cfa3ee9fa556896 (diff)
downloadafl++-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.cc6
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;