summaryrefslogtreecommitdiff
path: root/view/elf/elfview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'view/elf/elfview.cpp')
-rw-r--r--view/elf/elfview.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/view/elf/elfview.cpp b/view/elf/elfview.cpp
index fb6942e3..78e31ad7 100644
--- a/view/elf/elfview.cpp
+++ b/view/elf/elfview.cpp
@@ -2413,6 +2413,13 @@ void ElfView::DefineElfSymbol(BNSymbolType type, const string& incomingName, uin
name = name.substr(0, pos);
}
+ pos = name.rfind("@CXXABI");
+ if (type == ExternalSymbol && pos != string::npos)
+ {
+ name = name.substr(0, pos);
+ }
+
+
// Deprioritize local label symbol names
if (type == DataSymbol && binding == LocalBinding && !name.empty() && name[0] == '.')
{