Mattiwatti / EfiGuard

Disable PatchGuard and Driver Signature Enforcement at boot time
GNU General Public License v3.0
1.76k stars 332 forks source link

Why not have the option to load the windows boot manager from the EfiGuardDxe.efi instead of loader.efi? #128

Open subvert0r opened 1 month ago

subvert0r commented 1 month ago

Question description

I have added a code to load windows boot manager in the DXE project itself, and tried to load this instead of the loader, and it worked fine. Note that i set the DSE option to turn off in boot, so I don't need the EFI driver to stay in memory.

My question is, is there any limitation of not using a loader and write everything in one EFI module? What was the reason that EFI guard chose to write a loader and dxe driver instead of writing just one project, hence just one EFI file?