Add a way to check PE/COFF image machine type
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2022-12-20 15:37:13 +01:00
parent 7bcdd8562d
commit eb5998c58e
4 changed files with 22 additions and 0 deletions

View File

@@ -17,6 +17,10 @@ EFI_STATUS
PeGetEntryPoint(IN PPECOFF_IMAGE_CONTEXT Image,
OUT PVOID *EntryPoint);
EFI_STATUS
PeGetMachineType(IN PPECOFF_IMAGE_CONTEXT Image,
OUT PUSHORT MachineType);
EFI_STATUS
PeGetSubSystem(IN PPECOFF_IMAGE_CONTEXT Image,
OUT PUSHORT SubSystem);