Skip to content

Demangle C++ symbols in the symbol table#34

Merged
everettjf merged 2 commits into
masterfrom
claude/review-and-plan-g4p9o
May 23, 2026
Merged

Demangle C++ symbols in the symbol table#34
everettjf merged 2 commits into
masterfrom
claude/review-and-plan-g4p9o

Conversation

@everettjf
Copy link
Copy Markdown
Owner

Summary

Adds a dependency-free Itanium C++ demangler (libmoex/base/demangle/Demangle.h, using abi::__cxa_demangle — available in both libstdc++ and libc++, so libmoex stays Qt-free) and shows a Demangled row next to each C++-mangled symbol in the symbol table. Mach-O's extra leading underscore is stripped first; non-C++ names (C, ObjC, Swift) are left untouched.

Verified

  • Test vectors: __Z3fooifoo(int), __ZN3foo3barEvfoo::bar(), __ZNSt6vectorIiSaIiEE9push_backEOistd::vector<int, std::allocator<int> >::push_back(int&&); _main / _objc_msgSend correctly skipped.
  • moex-parse still builds (libmoex stays Qt-free); full run_all.sh passes.

https://claude.ai/code/session_013kBiVXftgoEsyGVyrvfGok


Generated by Claude Code

claude added 2 commits May 23, 2026 14:58
Add a dependency-free Itanium C++ demangler (abi::__cxa_demangle, available in
both libstdc++ and libc++) and show a "Demangled" row next to each C++-mangled
symbol in the symbol table. Mach-O's extra leading underscore is stripped before
demangling; non-C++ names (C, ObjC, Swift) are left untouched.

https://claude.ai/code/session_013kBiVXftgoEsyGVyrvfGok
@everettjf everettjf merged commit a2a1927 into master May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants