PAGE_TARGETS_INVALID top-level constant

int const PAGE_TARGETS_INVALID

Sets all locations in the pages as invalid targets for CFG. Used along with any execute page protection like PAGE_EXECUTE, PAGE_EXECUTE_READ, PAGE_EXECUTE_READWRITE and PAGE_EXECUTE_WRITECOPY. Any indirect call to locations in those pages will fail CFG checks and the process will be terminated. The default behavior for executable pages allocated is to be marked valid call targets for CFG.

Implementation

const PAGE_TARGETS_INVALID = 0x40000000;