xqemu/contrib/elf2dmp
Viktor Prutyanov 06164cc402 contrib/elf2dmp: add kernel start address checking
Before this patch, if elf2dmp failed to find NT kernel PE magic in
allowed virtual address range, then it assumes NULL as NT kernel
address and cause segfault.

This patch fix the problem described above by checking NT kernel address
before futher processing.

Signed-off-by: Viktor Prutyanov <viktor.prutyanov@phystech.edu>
Message-Id: <20190219211936.6466-1-viktor.prutyanov@phystech.edu>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-03-11 16:33:49 +01:00
..
addrspace.c
addrspace.h
download.c
download.h
err.h
kdbg.h contrib/elf2dmp: fix structures definitions 2019-02-05 16:50:17 +01:00
main.c contrib/elf2dmp: add kernel start address checking 2019-03-11 16:33:49 +01:00
Makefile.objs
pdb.c contrib/elf2dmp: fix printf format 2019-02-05 16:50:18 +01:00
pdb.h contrib/elf2dmp: fix structures definitions 2019-02-05 16:50:17 +01:00
pe.h contrib/elf2dmp: fix structures definitions 2019-02-05 16:50:17 +01:00
qemu_elf.c contrib/elf2dmp: use GLib in ELF processing 2019-02-05 16:50:17 +01:00
qemu_elf.h contrib/elf2dmp: use GLib in ELF processing 2019-02-05 16:50:17 +01:00