Properly relocate PE/COFF image
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2022-11-15 00:19:21 +01:00
parent fd4e9ffe63
commit ee9f2df6a6
2 changed files with 125 additions and 0 deletions

View File

@@ -23,6 +23,9 @@ PeLoadImage(IN PEFI_FILE_HANDLE FileHandle,
IN PVOID VirtualAddress,
OUT PPECOFF_IMAGE_CONTEXT *Image);
EFI_STATUS
PepRelocateImage(IN PPECOFF_IMAGE_CONTEXT Image);
EFI_STATUS
PepValidateImageHeaders(IN PPECOFF_IMAGE_DOS_HEADER DosHeader,
IN PPECOFF_IMAGE_PE_HEADER PeHeader,