From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Artem Razin <artem.razin@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Reading DWARF debug information from a PE executable
Date: Thu, 18 Apr 2019 10:12:00 -0000 [thread overview]
Message-ID: <20190418101227.GA1565677@host1.jankratochvil.net> (raw)
In-Reply-To: <CACS3OuTF87Mg9VkxfE8NsnTU2dcyV1EptjDmVnEj3EJ11boXxA@mail.gmail.com>
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
prev parent reply other threads:[~2019-04-18 10:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-17 16:21 Artem Razin
2019-04-18 9:17 ` Nick Clifton
2019-04-18 9:48 ` Mark Wielaard
2019-04-18 11:19 ` Nick Clifton
2019-04-18 10:12 ` Jan Kratochvil [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190418101227.GA1565677@host1.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=artem.razin@gmail.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox