11 #ifndef SANITIZER_ALLOCATOR_INTERFACE_H
12 #define SANITIZER_ALLOCATOR_INTERFACE_H
75 void (*malloc_hook)(
const volatile void *,
size_t),
76 void (*free_hook)(
const volatile void *));
void __sanitizer_malloc_hook(const volatile void *ptr, size_t size)
size_t __sanitizer_get_heap_size(void)
size_t __sanitizer_get_free_bytes(void)
size_t __sanitizer_get_unmapped_bytes(void)
void __sanitizer_free_hook(const volatile void *ptr)
void __sanitizer_purge_allocator(void)
int __sanitizer_get_ownership(const volatile void *p)
size_t __sanitizer_get_allocated_size(const volatile void *p)
int __sanitizer_install_malloc_and_free_hooks(void(*malloc_hook)(const volatile void *, size_t), void(*free_hook)(const volatile void *))
size_t __sanitizer_get_estimated_allocated_size(size_t size)
size_t __sanitizer_get_current_allocated_bytes(void)