• Eugene Kosov's avatar
    MDEV-17799 Add ASAN-poisoned redzones for MEM_ROOT and mem_heap_t · 7b59ec6f
    Eugene Kosov authored
    This patch is for MEM_ROOT only.
    In debug mode add 8 byte of poisoned memory before every allocated chunk.
    On the right of every chunk there will be either 1-7 trailing poisoned bytes, or
    next chunk's redzone, or poisoned non allocated memory or redzone of a
    malloc()ed buffer.
    7b59ec6f
my_valgrind.h 2.42 KB