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

Viktor Prutyanov posted 2 patches 5 years, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20181102002818.8568-1-viktor.prutyanov@phystech.edu
Test docker-clang@ubuntu passed
Test checkpatch passed
Test asan passed
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
There is a newer version of this series
Makefile                      |  4 ++--
contrib/elf2dmp/Makefile.objs |  2 +-
contrib/elf2dmp/addrspace.c   |  7 ++++---
contrib/elf2dmp/file_map.c    | 30 ++++++++++++++++++++++++++++++
contrib/elf2dmp/file_map.h    | 21 +++++++++++++++++++++
contrib/elf2dmp/kdbg.h        | 12 ++++++++----
contrib/elf2dmp/main.c        | 27 +++++++++++++++------------
contrib/elf2dmp/pdb.c         | 32 ++++++++------------------------
contrib/elf2dmp/pdb.h         |  7 +++++--
contrib/elf2dmp/pe.h          |  6 ++++--
contrib/elf2dmp/qemu_elf.c    | 34 ++++++++++++----------------------
contrib/elf2dmp/qemu_elf.h    | 15 ++++++++-------
12 files changed, 118 insertions(+), 79 deletions(-)
create mode 100644 contrib/elf2dmp/file_map.c
create mode 100644 contrib/elf2dmp/file_map.h
[Qemu-devel] [PATCH 0/2] contrib/elf2dmp: elf2dmp for Windows hosts
Posted by Viktor Prutyanov 5 years, 5 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 hosts.

Viktor Prutyanov (2):
  contrib/elf2dmp: use GLib file mapping
  contrib/elf2dmp: elf2dmp for Windows hosts

 Makefile                      |  4 ++--
 contrib/elf2dmp/Makefile.objs |  2 +-
 contrib/elf2dmp/addrspace.c   |  7 ++++---
 contrib/elf2dmp/file_map.c    | 30 ++++++++++++++++++++++++++++++
 contrib/elf2dmp/file_map.h    | 21 +++++++++++++++++++++
 contrib/elf2dmp/kdbg.h        | 12 ++++++++----
 contrib/elf2dmp/main.c        | 27 +++++++++++++++------------
 contrib/elf2dmp/pdb.c         | 32 ++++++++------------------------
 contrib/elf2dmp/pdb.h         |  7 +++++--
 contrib/elf2dmp/pe.h          |  6 ++++--
 contrib/elf2dmp/qemu_elf.c    | 34 ++++++++++++----------------------
 contrib/elf2dmp/qemu_elf.h    | 15 ++++++++-------
 12 files changed, 118 insertions(+), 79 deletions(-)
 create mode 100644 contrib/elf2dmp/file_map.c
 create mode 100644 contrib/elf2dmp/file_map.h

-- 
2.17.2