Skip to content
Snippets Groups Projects
Commit 3c407ec6 authored by Viktor Prutyanov's avatar Viktor Prutyanov Committed by Peter Maydell
Browse files

elf2dmp: replace PE export name check with PDB name check

PE export name check introduced in d399d6b1 isn't reliable enough,
because a page with the export directory may be not present for some
reason. On the other hand, elf2dmp retrieves the PDB name in any case.
It can be also used to check that a PE image is the kernel image. So,
check PDB name when searching for Windows kernel image.

Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=2165917



Signed-off-by: default avatarViktor Prutyanov <viktor@daynix.com>
Reviewed-by: default avatarAkihiko Odaki <akihiko.odaki@daynix.com>
Message-id: 20230915170153.10959-2-viktor@daynix.com
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent 058262e0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment