Re: Reading DWARF debug information from a PE executable

Jan Kratochvil <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On Wed, 17 Apr 2019 18:20:58 +0200, Artem Razin wrote:
> Or probably there are other ways to work with DWARF in case of PE
> executables...

liblldb parses DWARF in PE for you with its SB* public C++ and Python API.

(lldb) target create "2.exe"
Current executable set to '2.exe' (x86_64).
(lldb) b main
Breakpoint 1: where = 2.exe`main + 13 at 2.c:4:10, address = 0x000000000040156d
(lldb) p s
(s) $0 = (i = 0)


Jan
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.