contrib/elf2dmp: use GLib in ELF processing
commitbd4d0da7db2bbbfd8715f5040edda9f146628d98
authorViktor Prutyanov <viktor.prutyanov@phystech.edu>
Thu, 20 Dec 2018 01:24:37 +0000 (20 04:24 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Feb 2019 15:50:17 +0000 (5 16:50 +0100)
treefda5739343a1655738c5167e99ed9f74a2153d5c
parente53f3466e3233a66e3d77f1ee53c330c29179fcc
contrib/elf2dmp: use GLib in ELF processing

Replace POSIX mmap with GLib g_mapped_file_new in ELF processing module
to make elf2dmp cross-platform.

Signed-off-by: Viktor Prutyanov <viktor.prutyanov@phystech.edu>
Message-Id: <20181220012441.13694-3-viktor.prutyanov@phystech.edu>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
contrib/elf2dmp/qemu_elf.c
contrib/elf2dmp/qemu_elf.h