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 contrib/elf2dmp: Fix error reporting style in addrspace.c 2024-03-11 17:06:06 +00:00
download.c contrib/elf2dmp: Fix error reporting style in download.c 2024-03-11 17:06:06 +00:00
download.h contrib/elf2dmp: Fix error reporting style in download.c 2024-03-11 17:06:06 +00:00
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 contrib/elf2dmp: add PE name check and Windows Server 2022 support 2023-03-21 13:19:07 +00:00
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