PE: Add support for EFI images

This commit is contained in:
Kornel Pal
2021-12-22 03:05:24 +01:00
committed by Markus F.X.J. Oberhumer
parent 1d9c211eed
commit 937bfa4e49
5 changed files with 71 additions and 21 deletions
+6
View File
@@ -74,6 +74,9 @@ section PEISDLL0
mov [rsp + 8], rcx
mov [rsp + 0x10], rdx
mov [rsp + 0x18], r8
section PEISEFI0
push rcx
push rdx
section PEISDLL1
cmp dl, 1
@@ -457,6 +460,9 @@ section PEISDLL9
mov r8, [rsp + 0x18]
mov rdx, [rsp + 0x10]
mov rcx, [rsp + 8]
section PEISEFI9
pop rdx
pop rcx
section PERETURN
push 1