23 #ifndef INCLUDED_ALLOCATORS_OVERRUN_PROTECTOR
24 #define INCLUDED_ALLOCATORS_OVERRUN_PROTECTOR
57 #if CONFIG2_ALLOCATORS_OVERRUN_PROTECTION
69 #if CONFIG2_ALLOCATORS_OVERRUN_PROTECTION
85 #if CONFIG2_ALLOCATORS_OVERRUN_PROTECTION
93 #if CONFIG2_ALLOCATORS_OVERRUN_PROTECTION
101 #endif // #ifndef INCLUDED_ALLOCATORS_OVERRUN_PROTECTOR
OverrunProtector wraps an arbitrary object in isolated page(s) and can detect inadvertent writes to i...
bool Protect(uintptr_t address, size_t size, int prot)
set the memory protection flags for all pages that intersect the given interval.
#define T(string_literal)
NONCOPYABLE(OverrunProtector)
void * Allocate(size_t size, PageType pageType, int prot)
reserve address space and commit memory.
void Free(void *p, size_t size)
decommit memory and release address space.