#ifndef _NTLDR_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
#if (PHNT_VERSION >= PHNT_THRESHOLD)
#ifdef PHNT_INLINE_TYPEDEFS
/**
* The LdrControlFlowGuardEnforced function checks if Control Flow Guard is enforced.
*
* @return BOOLEAN TRUE if Control Flow Guard is enforced, FALSE otherwise.
*/
FORCEINLINE
BOOLEAN
NTAPI
LdrControlFlowGuardEnforced(
VOID
)
{
return LdrSystemDllInitBlock.CfgBitMap && (LdrSystemDllInitBlock.Flags & 1) == 0;
}
View code on GitHub
#ifndef _NTLDR_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
#if (PHNT_VERSION >= PHNT_THRESHOLD)
#ifdef PHNT_INLINE_TYPEDEFS
// ...
#else
// rev
/**
* The LdrControlFlowGuardEnforced function checks if Control Flow Guard is enforced.
*
* @return BOOLEAN TRUE if Control Flow Guard is enforced, FALSE otherwise.
*/
NTSYSAPI
BOOLEAN
NTAPI
LdrControlFlowGuardEnforced(
VOID
);
View code on GitHub
No description available.