mbox series

[v2,0/6] contrib/elf2dmp: elf2dmp for Windows hosts

Message ID 20181220012441.13694-1-viktor.prutyanov@phystech.edu (mailing list archive)
Headers show
Series contrib/elf2dmp: elf2dmp for Windows hosts | expand

Message

Viktor Prutyanov Dec. 20, 2018, 1:24 a.m. UTC
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(-)

Comments

Paolo Bonzini Jan. 15, 2019, 5:38 p.m. UTC | #1
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