[ANNOUNCEMENT] tool for msvc++ name demangling available

Ralf Habacker Ralf.Habacker@freenet.de
Tue Nov 6 05:03:00 GMT 2001


Hi,

Based on the thread in
http://sources.redhat.com/ml/cygwin-xfree/2001-q4/msg00384.html
and earlier topics in several mailing lists possible solutions
about demangling of msvc++ symbol were discussed.

After some tries with analysing the structure and writing a parser which should
do this,
I have found in the winewhq mailing some hints about a function in an ms dll
which should
do this work. And it is true. Microsoft was so kindly to provide a function,
which
demangles all (of the 10000 qt 2.3 lib symbols, which I have tested) c++
symbols.

This function is described in
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/dbghelp_0
tnp.asp

With this function objdump, nm, gdb and other tools could provide msvc++
demangling support.

For practical use I have written a little cygwin application, which allows
anyone to
demangle msvc++ symbols on the command line.

Regards

Ralf Habacker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vcdmgl-1.0-src.tar.gz
Type: application/x-gzip
Size: 1372 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20011106/f9d5b589/attachment.bin>


More information about the Cygwin mailing list