#ifndef _NTLDR_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
#if (PHNT_VERSION >= PHNT_THRESHOLD)
/**
* The LdrControlFlowGuardEnforcedWithExportSuppression function checks if Control Flow Guard is
* enforced with export suppression.
*
* @return BOOLEAN TRUE if Control Flow Guard is enforced, FALSE otherwise.
*/
FORCEINLINE
BOOLEAN
NTAPI
LdrControlFlowGuardEnforcedWithExportSuppression(
VOID
)
{
return LdrSystemDllInitBlock.CfgBitMap
&& (LdrSystemDllInitBlock.Flags & 1) == 0
&& (LdrSystemDllInitBlock.MitigationOptionsMap.Map[0] & 3) == 3; // PROCESS_CREATION_MITIGATION_POLICY_CONTROL_FLOW_GUARD_EXPORT_SUPPRESSION
}
View code on GitHub
No description available.