Monday, December 04, 2006

C++ Name Mangling/Demangling

Before you say anything, yes I know, mangling is compiler specific and can change with each compiler version. But for purposes of debugging it is sometimes useful to decipher function signature from linker's outptut.

We already know that DBGHELP.DLL provides a function UnDecorateSymbolName. Just came across this page on the net, with links to various mangling/demangling resources and a comprehensive reverse engineering summary of Microsoft C++ compiler name mangling.

Hope this is useful to someone.

No comments: