qemu-e2k/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 contrib: add elf2dmp tool 2018-10-02 19:09:12 +02:00
addrspace.h contrib: add elf2dmp tool 2018-10-02 19:09:12 +02:00
download.c contrib: add elf2dmp tool 2018-10-02 19:09:12 +02:00
download.h contrib: add elf2dmp tool 2018-10-02 19:09:12 +02:00
err.h contrib: add elf2dmp tool 2018-10-02 19:09:12 +02:00
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 contrib: add elf2dmp tool 2018-10-02 19:09:12 +02:00
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