Policy Control
Stack Guard: Detect Stack Overflow
gEfiMdeModulePkgTokenSpaceGuid.PcdCpuStackGuard
## Indicates if UEFI Stack Guard will be enabled.
# If enabled, stack overflow in UEFI can be caught, preventing chaotic consequences.<BR><BR>
# TRUE - UEFI Stack Guard will be enabled.<BR>
# FALSE - UEFI Stack Guard will be disabled.<BR>
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackGuard
## Indicates if SMM Stack Guard will be enabled.
# If enabled, stack overflow in SMM can be caught, preventing chaotic consequences.<BR><BR>
# TRUE - SMM Stack Guard will be enabled.<BR>
# FALSE - SMM Stack Guard will be disabled.<BR>NULL pointer detection: Detect NULL pointer access
gEfiMdeModulePkgTokenSpaceGuid.PcdNullPointerDetectionPropertyMask
## Mask to control the NULL address detection in code for different phases.
# If enabled, accessing NULL address in UEFI or SMM code can be caught.<BR><BR>
# BIT0 - Enable NULL pointer detection for UEFI.<BR>
# BIT1 - Enable NULL pointer detection for SMM.<BR>
# BIT2..6 - Reserved for future uses.<BR>
# BIT7 - Disable NULL pointer detection just after EndOfDxe. <BR>
# This is a workaround for those unsolvable NULL access issues in
# OptionROM, boot loader, etc. It can also help to avoid unnecessary
# exception caused by legacy memory (0-4095) access after EndOfDxe,
# such as Windows 7 boot on Qemu.<BR>Heap Guard: Detect Heap Overflow.
Memory Profile: Provide memory usage information, detect memory leak
NX stack: Prevent code execution in stack
DXE NX/RO Protection: Prevent code injection
DXE image Protection: Prevent code injection
System Management Mode (SMM) static paging: Provide code injection in SMM
System Management Mode Interrupt (SMI) Handler Profile: Provide SMI handler information
SMM Profile: Provide non-SMRAM access in SMM
Last updated