Delphi – unmangle names in BPL’s – Stack Overflow
Posted by jpluimers on 2016/10/12
$(BDS)\source\cpprtl\Source\misc\unmangle.c– it contains the source code for the unmangling mechanism used by TDUMP, the debugger and the linker. (C++Builder and Delphi use the same mangling scheme.)
This has been around as long as BCC itself. However the file was called
unmangle.cin older versions
It’s the same mangling used in the TD32/TDS and MAP symbols.
And neede to improve https://github.com/jpluimers/map2dbg (which is my fork of https://github.com/andremussche/map2dbg) which contrary to it’s name also supports TDS/TD32 conversions in tds2pdb. The code is C# and works in virtually any Visual Studio version of 2012 and younger.