It selects a pointer to a block of aligned pages, i.e. the PAGESnumber of pages using C ++ dispatchers instead of the more specialized dedicated highlighting functions (e.g. POSIX posix_memalignor C11aligned_alloc ).
PAGES + 1 ( ), , , . , , , , , PAGES . , delete mem, , memAligned ( , , , - , undefined, ).
; PAGE_SIZE - 1 (, , , ), ( " " , , mem).
: ~ , ADDR_MASK, , , - 0x00000FFF 4096 , 0xFFFFF000 ( ). & - , , . : 32- , new 0xDEADBEEF, PAGE_SIZE - 4096. 4095 (0xFFF) , "0xDEADCEEE" . 0xFFFFF000, , 0xDEADC000, , 0xDEADBEEF. , , new.
, , 0xDEADB000, 4095/0xFFF 0xDEADBFFF ( , 0xDEADB ), , , , 0xDEADB000 , .
uintptr_t , , , ( , , , , , , ).