]> git.ipfire.org Git - thirdparty/qemu.git/commit
contrib/elf2dmp: move PE dir search to pe_get_data_dir_entry
authorViktor Prutyanov <viktor@daynix.com>
Wed, 22 Feb 2023 21:12:45 +0000 (00:12 +0300)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 21 Mar 2023 13:18:54 +0000 (13:18 +0000)
commit06ac60b73e6abe1209d0ed1aca69d7f79f95b30b
tree28f8d01c03d1e7f85044d8ca4a6afc7ddf632650
parent05adc48e1d60ebef57ca78626fbfce895a15664d
contrib/elf2dmp: move PE dir search to pe_get_data_dir_entry

Move out PE directory search functionality to be reused not only
for Debug Directory processing but for arbitrary PE directory.

Signed-off-by: Viktor Prutyanov <viktor@daynix.com>
Reviewed-by: Annie Li <annie.li@oracle.com>
Message-id: 20230222211246.883679-3-viktor@daynix.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
contrib/elf2dmp/main.c