qemu-e2k/contrib/elf2dmp
Akihiko Odaki 98d16e5f72 contrib/elf2dmp: Ensure phdrs fit in file
Callers of elf64_getphdr() and elf_getphdrnum() assume phdrs are
accessible.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2202
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Tested-by: Viktor Prutyanov <viktor.prutyanov@phystech.edu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20240307-elf2dmp-v4-19-4f324ad4d99d@daynix.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2024-03-11 17:06:27 +00:00
..
addrspace.c contrib/elf2dmp: Ensure segment fits in file 2024-03-11 17:06:06 +00:00
addrspace.h
download.c
download.h
err.h
kdbg.h
main.c contrib/elf2dmp: Use rol64() to decode 2024-03-11 17:06:06 +00:00
meson.build
pdb.c contrib/elf2dmp: Use lduw_le_p() to read PDB 2024-03-11 17:06:06 +00:00
pdb.h contrib/elf2dmp: Fix error reporting style in pdb.c 2024-03-11 17:06:06 +00:00
pe.h
qemu_elf.c contrib/elf2dmp: Ensure phdrs fit in file 2024-03-11 17:06:27 +00:00
qemu_elf.h contrib/elf2dmp: Fix error reporting style in qemu_elf.c 2024-03-11 17:06:06 +00:00