
29 Mar
2018
29 Mar
'18
11:54 p.m.
If an exception occurs in a UEFI loaded image we need the start address of the image to determine the relocation offset.
This patch series adds the necessary lines after the registers in the crash dump. A possible output would be:
UEFI image start 0x7fdb4000, size 0xa7b60 pc offset 0x72ca /\snp.efi
With the offset 0x72ca we can now find the relevant instruction in the disassembled 'snp.efi' binary.
Heinrich Schuchardt (2): efi_loader: new functions to print loaded image information arm: print information about loaded UEFI images
arch/arm/lib/interrupts.c | 17 +++++++++++++++ include/efi_loader.h | 4 ++++ lib/efi_loader/efi_image_loader.c | 45 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+)
--
2.11.0