Reading DWARF debug information from PE file on Windows with libdwarf

Artem Razin <[email protected]>
Newsgroups gmane.comp.gnu.mingw.user
Message-ID <CACS3OuRUokfDgzszxfB0do2BR6JroqyJLCxLSLRoRDwohkUutA@mail.gmail.com>
Hi,

This is my first question here and I hope it is suitable for this list.

I am an author of Deleaker, a memory profiler tool. Currently Deleaker can
resolve symbols using PDB files, but now I want to add support of binaries
compiled by mingw.

It seems that mingw uses DWARF format.

I need to parse this debug information. I've tried to adopt libdwarf but it
seems to be able to read files in ELF format only. At the same time mingw
places debug information to several PE sections.

Is there any way to pass raw data from these sections to libdwarf to read
debug information?

Or probably there are other ways to work with DWARF...

Thank you!

-- 
Best regards,
Artem A. Razin

_______________________________________________
MinGW-Users mailing list
[email protected]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.osdn.me/mailman/listinfo/mingw-users
Also: mailto:[email protected]?subject=unsubscribe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.