Searched refs:PYMEM_DEADBYTE (Results 1 – 3 of 3) sorted by relevance
/third_party/python/Include/internal/ |
D | pycore_pymem.h | 33 #define PYMEM_DEADBYTE 0xDD macro
|
/third_party/python/Doc/c-api/ |
D | memory.rst | 505 (``PYMEM_DEADBYTE``). Memory blocks are surrounded by "forbidden bytes" 549 overwritten with PYMEM_DEADBYTE, to catch reference to freed memory. When 551 excess old bytes are also filled with PYMEM_DEADBYTE. 573 filled with PYMEM_DEADBYTE (meaning freed memory is getting used) or 585 Byte patterns ``0xCB`` (``PYMEM_CLEANBYTE``), ``0xDB`` (``PYMEM_DEADBYTE``)
|
/third_party/python/Objects/ |
D | obmalloc.c | 2527 memset(q, PYMEM_DEADBYTE, nbytes); in _PyMem_DebugRawFree() 2569 memset(data - 2 * SST, PYMEM_DEADBYTE, in _PyMem_DebugRawRealloc() 2574 memset(head, PYMEM_DEADBYTE, ERASED_SIZE + 2 * SST); in _PyMem_DebugRawRealloc() 2576 memset(tail - ERASED_SIZE, PYMEM_DEADBYTE, in _PyMem_DebugRawRealloc()
|