platform_bionic/libc/malloc_hooks/exported32.map
Christopher Ferris 6c619a0da3 Refactor the malloc_info code.
malloc_info needs to be per native allocator, but the code treated it
like a global function that doesn't depend on the native memory allocator.

Update malloc debug to dump the actual pointers that it has been tracking.

Test: bionic-unit-tests pass.
Test: malloc debug tests pass.
Test: malloc hook tests pass.
Change-Id: I3b0d4d748489dd84c16d16933479dc8b8d79013e
Merged-In: I3b0d4d748489dd84c16d16933479dc8b8d79013e
(cherry picked from commit a3656a98b1)
2019-03-07 08:39:55 -08:00

28 lines
560 B
Text

LIBC_MALLOC_HOOKS {
global:
hooks_aligned_alloc;
hooks_calloc;
hooks_finalize;
hooks_free;
hooks_free_malloc_leak_info;
hooks_get_malloc_leak_info;
hooks_initialize;
hooks_iterate;
hooks_mallinfo;
hooks_malloc;
hooks_malloc_backtrace;
hooks_malloc_disable;
hooks_malloc_enable;
hooks_malloc_info;
hooks_malloc_usable_size;
hooks_mallopt;
hooks_memalign;
hooks_posix_memalign;
hooks_pvalloc;
hooks_realloc;
hooks_valloc;
hooks_write_malloc_leak_info;
local:
*;
};