[Qemu-devel] [PATCH v2 0/6] contrib/elf2dmp: elf2dmp for Windows hosts

Viktor Prutyanov posted 6 patches 5 years, 4 months ago
Test checkpatch passed
Test asan passed
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
Test docker-clang@ubuntu passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20181220012441.13694-1-viktor.prutyanov@phystech.edu
Makefile                   |  4 ++--
configure                  |  4 ++--
contrib/elf2dmp/kdbg.h     | 12 ++++++++----
contrib/elf2dmp/main.c     | 27 +++++++++++++++------------
contrib/elf2dmp/pdb.c      | 33 +++++++++++----------------------
contrib/elf2dmp/pdb.h      |  4 +++-
contrib/elf2dmp/pe.h       |  6 ++++--
contrib/elf2dmp/qemu_elf.c | 27 ++++++++-------------------
contrib/elf2dmp/qemu_elf.h | 10 +++++-----
9 files changed, 58 insertions(+), 69 deletions(-)
[Qemu-devel] [PATCH v2 0/6] contrib/elf2dmp: elf2dmp for Windows hosts
Posted by Viktor Prutyanov 5 years, 4 months ago
In most cases, it is more convenient to convert a dump on the same machine
on which the analysis is performed. Because of WinDbg, the analysis of guest
Windows problems needs Windows host anyway, so it is useful to have dump
convertion tool near the debugger.
After these patches elf2dmp can be built both for Linux and Windows (x86
and x86_64) hosts.

Viktor Prutyanov (6):
  contrib/elf2dmp: fix elf.h including
  contrib/elf2dmp: use GLib in ELF processing
  contrib/elf2dmp: use GLib in PDB processing
  contrib/elf2dmp: fix structures definitions
  contrib/elf2dmp: fix printf format
  configure: enable elf2dmp build for Windows hosts

 Makefile                   |  4 ++--
 configure                  |  4 ++--
 contrib/elf2dmp/kdbg.h     | 12 ++++++++----
 contrib/elf2dmp/main.c     | 27 +++++++++++++++------------
 contrib/elf2dmp/pdb.c      | 33 +++++++++++----------------------
 contrib/elf2dmp/pdb.h      |  4 +++-
 contrib/elf2dmp/pe.h       |  6 ++++--
 contrib/elf2dmp/qemu_elf.c | 27 ++++++++-------------------
 contrib/elf2dmp/qemu_elf.h | 10 +++++-----
 9 files changed, 58 insertions(+), 69 deletions(-)

-- 
2.17.2


Re: [Qemu-devel] [PATCH v2 0/6] contrib/elf2dmp: elf2dmp for Windows hosts
Posted by Paolo Bonzini 5 years, 3 months ago
On 20/12/18 02:24, Viktor Prutyanov wrote:
> In most cases, it is more convenient to convert a dump on the same machine
> on which the analysis is performed. Because of WinDbg, the analysis of guest
> Windows problems needs Windows host anyway, so it is useful to have dump
> convertion tool near the debugger.
> After these patches elf2dmp can be built both for Linux and Windows (x86
> and x86_64) hosts.
> 
> Viktor Prutyanov (6):
>   contrib/elf2dmp: fix elf.h including
>   contrib/elf2dmp: use GLib in ELF processing
>   contrib/elf2dmp: use GLib in PDB processing
>   contrib/elf2dmp: fix structures definitions
>   contrib/elf2dmp: fix printf format
>   configure: enable elf2dmp build for Windows hosts
> 
>  Makefile                   |  4 ++--
>  configure                  |  4 ++--
>  contrib/elf2dmp/kdbg.h     | 12 ++++++++----
>  contrib/elf2dmp/main.c     | 27 +++++++++++++++------------
>  contrib/elf2dmp/pdb.c      | 33 +++++++++++----------------------
>  contrib/elf2dmp/pdb.h      |  4 +++-
>  contrib/elf2dmp/pe.h       |  6 ++++--
>  contrib/elf2dmp/qemu_elf.c | 27 ++++++++-------------------
>  contrib/elf2dmp/qemu_elf.h | 10 +++++-----
>  9 files changed, 58 insertions(+), 69 deletions(-)
> 

Queued, thanks.

Paolo