c140c80f0c
This allocator uses mmap for every allocation, performs explicit checks on the given arguments, adds a guard page after every allocation (while placing the allocation as close to it as possible), and, if configured to do so, will never release virtual addresses to catch a certain category of use-after-free bugs.
9 lines
185 B
C
9 lines
185 B
C
#pragma once
|
|
|
|
#mesondefine MLIBC_SYSTEM_NAME
|
|
#mesondefine MLIBC_MAP_DSO_SEGMENTS
|
|
#mesondefine MLIBC_MAP_FILE_WINDOWS
|
|
#mesondefine MLIBC_STATIC_BUILD
|
|
#mesondefine MLIBC_DEBUG_ALLOCATOR
|
|
|