aboutsummaryrefslogtreecommitdiff
path: root/instrumentation
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-12-15 18:17:55 +0100
committervan Hauser <vh@thc.org>2020-12-15 18:17:55 +0100
commit6e0aeb983356b805d769903fc02945014e28c8c8 (patch)
tree12d971ac64bcb9ca0c1001457a5e1c6d50d5c7dd /instrumentation
parentdb76b06e0119b4fb780431a86fe7e197e8d20c0c (diff)
downloadAFLplusplus-6e0aeb983356b805d769903fc02945014e28c8c8.tar.gz
allow instrumenting LLVMFuzzerTestOneInput
Diffstat (limited to 'instrumentation')
-rw-r--r--instrumentation/afl-gcc-pass.so.cc4
-rw-r--r--instrumentation/afl-llvm-common.cc4
2 files changed, 6 insertions, 2 deletions
diff --git a/instrumentation/afl-gcc-pass.so.cc b/instrumentation/afl-gcc-pass.so.cc
index e116e7d1..c95ead8f 100644
--- a/instrumentation/afl-gcc-pass.so.cc
+++ b/instrumentation/afl-gcc-pass.so.cc
@@ -516,7 +516,9 @@ struct afl_pass : gimple_opt_pass {
"__cmplog",
"__sancov",
"msan.",
- "LLVMFuzzer",
+ "LLVMFuzzerM",
+ "LLVMFuzzerC",
+ "LLVMFuzzerI",
"__decide_deferred",
"maybe_duplicate_stderr",
"discard_output",
diff --git a/instrumentation/afl-llvm-common.cc b/instrumentation/afl-llvm-common.cc
index 21c4d204..557939fd 100644
--- a/instrumentation/afl-llvm-common.cc
+++ b/instrumentation/afl-llvm-common.cc
@@ -70,7 +70,9 @@ bool isIgnoreFunction(const llvm::Function *F) {
"__cmplog",
"__sancov",
"msan.",
- "LLVMFuzzer",
+ "LLVMFuzzerM",
+ "LLVMFuzzerC",
+ "LLVMFuzzerI",
"__decide_deferred",
"maybe_duplicate_stderr",
"discard_output",