From: Viktor Prutyanov <viktor.prutyanov@phystech.edu>
To: qemu-devel@nongnu.org
Cc: marcandre.lureau@redhat.com, pbonzini@redhat.com,
armbru@redhat.com, dgilbert@redhat.com, rkagan@virtuozzo.com
Subject: Re: [Qemu-devel] [PATCH 0/5] contrib: add elf2dmp tool
Date: Fri, 14 Sep 2018 06:39:43 +0300 [thread overview]
Message-ID: <20180914063943.3c65d2fc@phystech.edu> (raw)
In-Reply-To: <1535546488-30208-1-git-send-email-viktor.prutyanov@virtuozzo.com>
В Wed, 29 Aug 2018 15:41:23 +0300
Viktor Prutyanov <viktor.prutyanov@virtuozzo.com> пишет:
> elf2dmp is a converter from ELF dump (produced by
> 'dump-guest-memory') to Windows MEMORY.DMP format (also know as
> 'Complete Memory Dump') which can be opened in WinDbg.
>
> This tool can help if VMCoreInfo device/driver is absent in Windows
> VM and 'dump-guest-memory -w' is not available but dump can be
> created in ELF format.
>
> elf2dmp differs from other universal converters in method of
> determining of virtual memory layout. The tool uses register values
> from QEMU ELF dump file to do it. In particular, it uses
> KERNEL_GS_BASE value added to dump format in QEMU 3.0.
>
> Even if KERNEL_GS_BASEs are absent in ELF dump file, at least 1 vCPU
> with kernel task can be found quite often and virtual memory layout
> can be determined.
>
> Viktor Prutyanov (5):
> dump: move Windows dump structures definitions
> contrib: add elf2dmp tool
> contrib/elf2dmp: improve paging root selection
> contrib/elf2dmp: add DMP file name as 2nd argument
> contrib/elf2dmp: add 1GB and 2MB pages support
>
> Makefile | 5 +
> Makefile.objs | 1 +
> configure | 3 +
> contrib/elf2dmp/Makefile.objs | 1 +
> contrib/elf2dmp/addrspace.c | 236 +++++++++++++++++
> contrib/elf2dmp/addrspace.h | 44 ++++
> contrib/elf2dmp/download.c | 50 ++++
> contrib/elf2dmp/download.h | 13 +
> contrib/elf2dmp/err.h | 13 +
> contrib/elf2dmp/kdbg.h | 194 ++++++++++++++
> contrib/elf2dmp/main.c | 594
> ++++++++++++++++++++++++++++++++++++++++++
> contrib/elf2dmp/pdb.c | 331 +++++++++++++++++++++++
> contrib/elf2dmp/pdb.h | 241 +++++++++++++++++
> contrib/elf2dmp/pe.h | 121 +++++++++
> contrib/elf2dmp/qemu_elf.c | 172 ++++++++++++
> contrib/elf2dmp/qemu_elf.h | 51 ++++
> include/qemu/win_dump_defs.h | 179 +++++++++++++
> win_dump.h | 166 +----------- 18 files changed,
> 2253 insertions(+), 162 deletions(-) create mode 100644
> contrib/elf2dmp/Makefile.objs create mode 100644
> contrib/elf2dmp/addrspace.c create mode 100644
> contrib/elf2dmp/addrspace.h create mode 100644
> contrib/elf2dmp/download.c create mode 100644
> contrib/elf2dmp/download.h create mode 100644 contrib/elf2dmp/err.h
> create mode 100644 contrib/elf2dmp/kdbg.h
> create mode 100644 contrib/elf2dmp/main.c
> create mode 100644 contrib/elf2dmp/pdb.c
> create mode 100644 contrib/elf2dmp/pdb.h
> create mode 100644 contrib/elf2dmp/pe.h
> create mode 100644 contrib/elf2dmp/qemu_elf.c
> create mode 100644 contrib/elf2dmp/qemu_elf.h
> create mode 100644 include/qemu/win_dump_defs.h
>
ping
next prev parent reply other threads:[~2018-09-14 3:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-29 12:41 [Qemu-devel] [PATCH 0/5] contrib: add elf2dmp tool Viktor Prutyanov
2018-08-29 12:41 ` [Qemu-devel] [PATCH 1/5] dump: move Windows dump structures definitions Viktor Prutyanov
2018-08-29 12:41 ` [Qemu-devel] [PATCH 3/5] contrib/elf2dmp: improve paging root selection Viktor Prutyanov
2018-08-29 12:41 ` [Qemu-devel] [PATCH 4/5] contrib/elf2dmp: add DMP file name as 2nd argument Viktor Prutyanov
2018-08-29 12:41 ` [Qemu-devel] [PATCH 5/5] contrib/elf2dmp: add 1GB and 2MB pages support Viktor Prutyanov
2018-09-14 3:39 ` Viktor Prutyanov [this message]
2018-09-14 15:22 ` [Qemu-devel] [PATCH 0/5] contrib: add elf2dmp tool Paolo Bonzini
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=20180914063943.3c65d2fc@phystech.edu \
--to=viktor.prutyanov@phystech.edu \
--cc=armbru@redhat.com \
--cc=dgilbert@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rkagan@virtuozzo.com \
/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;
as well as URLs for NNTP newsgroup(s).