mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-10 01:01:33 +00:00
Merge branch 'dev' of github.com:AFLplusplus/AFLplusplus into dev
This commit is contained in:
commit
c2df65a0af
@ -60,7 +60,7 @@ bool isIgnoreFunction(const llvm::Function *F) {
|
|||||||
"asan.",
|
"asan.",
|
||||||
"llvm.",
|
"llvm.",
|
||||||
"sancov.",
|
"sancov.",
|
||||||
"__ubsan_",
|
"__ubsan",
|
||||||
"ign.",
|
"ign.",
|
||||||
"__afl",
|
"__afl",
|
||||||
"_fini",
|
"_fini",
|
||||||
@ -69,13 +69,16 @@ bool isIgnoreFunction(const llvm::Function *F) {
|
|||||||
"__msan",
|
"__msan",
|
||||||
"__cmplog",
|
"__cmplog",
|
||||||
"__sancov",
|
"__sancov",
|
||||||
|
"__san",
|
||||||
"__cxx_",
|
"__cxx_",
|
||||||
|
"__decide_deferred",
|
||||||
"_GLOBAL",
|
"_GLOBAL",
|
||||||
|
"_ZZN6__asan",
|
||||||
|
"_ZZN6__lsan",
|
||||||
"msan.",
|
"msan.",
|
||||||
"LLVMFuzzerM",
|
"LLVMFuzzerM",
|
||||||
"LLVMFuzzerC",
|
"LLVMFuzzerC",
|
||||||
"LLVMFuzzerI",
|
"LLVMFuzzerI",
|
||||||
"__decide_deferred",
|
|
||||||
"maybe_duplicate_stderr",
|
"maybe_duplicate_stderr",
|
||||||
"discard_output",
|
"discard_output",
|
||||||
"close_stdout",
|
"close_stdout",
|
||||||
@ -91,6 +94,28 @@ bool isIgnoreFunction(const llvm::Function *F) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static const char *ignoreSubstringList[] = {
|
||||||
|
|
||||||
|
"__asan",
|
||||||
|
"__msan",
|
||||||
|
"__ubsan",
|
||||||
|
"__lsan",
|
||||||
|
"__san",
|
||||||
|
"__sanitize",
|
||||||
|
"__cxx",
|
||||||
|
"_GLOBAL__",
|
||||||
|
"DebugCounter",
|
||||||
|
"DwarfDebug",
|
||||||
|
"DebugLoc"
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
for (auto const &ignoreListFunc : ignoreSubstringList) {
|
||||||
|
|
||||||
|
if (F->getName().contains(ignoreListFunc)) { return true; }
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user