Thursday
Dec102009
A C++ Name Demangler
Thursday, December 10, 2009 C++ compilers mangle function names, or rewrite them into something that is unique across the whole program. However, the new names are usually unreadable. You need to demangle them back into a human readable format.
I needed to demangle some C++ method names for debugging purposes and couldn't find an easy to use/build/embed demangler library. Instead, I stripped out parts of the C++ name demangler from GNU binutils and embeded that.
If you need such functionality, you can download the bare minimum stripped C++ name demangler here.
* Provided without warranty, under the GPL license.

Reader Comments