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