aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-06-11 14:39:35 +0200
committervanhauser-thc <vh@thc.org>2021-06-11 14:39:35 +0200
commitd2e256e73a2146b125c316e66a96f0215414411b (patch)
tree4ba4129821b7fe1e38a43d57fc29008f4eb9542a
parent581593ccab9516fbe372355fdb06180a5357e813 (diff)
downloadafl++-d2e256e73a2146b125c316e66a96f0215414411b.tar.gz
fix to instrument global c++ namespace functions
-rw-r--r--docs/Changelog.md3
-rw-r--r--instrumentation/afl-llvm-common.cc5
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/Changelog.md b/docs/Changelog.md
index 0e2ce27d..d3863c74 100644
--- a/docs/Changelog.md
+++ b/docs/Changelog.md
@@ -19,9 +19,10 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
- afl-cc
- Update to COMPCOV/laf-intel that speeds up the instrumentation process
a lot - thanks to Michael Rodler/f0rki for the PR!
+ - Fix to instrument global functions in c++
- Fix for llvm 13
- support partial linking
- - We do support llvm versions from 3.8 again
+ - We do support llvm versions from 3.8 to 5.0 again
- afl_analyze
- fix timeout handling and support forkserver
- ensure afl-compiler-rt is built for gcc_module
diff --git a/instrumentation/afl-llvm-common.cc b/instrumentation/afl-llvm-common.cc
index af32e2f9..3239ea91 100644
--- a/instrumentation/afl-llvm-common.cc
+++ b/instrumentation/afl-llvm-common.cc
@@ -96,9 +96,8 @@ bool isIgnoreFunction(const llvm::Function *F) {
static constexpr const char *ignoreSubstringList[] = {
- "__asan", "__msan", "__ubsan", "__lsan",
- "__san", "__sanitize", "__cxx", "_GLOBAL__",
- "DebugCounter", "DwarfDebug", "DebugLoc"
+ "__asan", "__msan", "__ubsan", "__lsan", "__san", "__sanitize",
+ "__cxx", "DebugCounter", "DwarfDebug", "DebugLoc"
};