1998-07-02 22:51:40 +00:00
|
|
|
libc {
|
|
|
|
GLIBC_2.0 {
|
|
|
|
# global variables
|
|
|
|
_obstack;
|
|
|
|
|
|
|
|
# interface of malloc functions
|
|
|
|
__libc_calloc; __libc_free; __libc_mallinfo; __libc_malloc;
|
|
|
|
__libc_mallopt; __libc_memalign; __libc_pvalloc; __libc_realloc;
|
|
|
|
__libc_valloc;
|
|
|
|
__malloc_initialize_hook; __free_hook; __malloc_hook; __realloc_hook;
|
|
|
|
__memalign_hook; __after_morecore_hook;
|
2021-06-22 14:43:40 +00:00
|
|
|
__default_morecore; __morecore;
|
1998-07-02 22:51:40 +00:00
|
|
|
|
|
|
|
# functions used in inline functions or macros
|
|
|
|
_obstack_allocated_p; _obstack_begin; _obstack_begin_1;
|
|
|
|
_obstack_free; _obstack_memory_used; _obstack_newchunk;
|
|
|
|
|
|
|
|
# variables in normal name space
|
|
|
|
mallwatch; obstack_alloc_failed_handler; obstack_exit_failure;
|
|
|
|
|
|
|
|
# c*
|
|
|
|
calloc; cfree;
|
|
|
|
|
|
|
|
# f*
|
|
|
|
free;
|
|
|
|
|
|
|
|
# m*
|
|
|
|
mallinfo; malloc; malloc_get_state; malloc_set_state; malloc_stats;
|
2021-07-07 13:44:00 +00:00
|
|
|
malloc_trim; malloc_usable_size; mallopt; mcheck; memalign; mprobe; mtrace;
|
1998-07-02 22:51:40 +00:00
|
|
|
muntrace;
|
|
|
|
|
|
|
|
# o*
|
|
|
|
obstack_free;
|
|
|
|
|
|
|
|
# p*
|
|
|
|
pvalloc;
|
|
|
|
|
|
|
|
# r*
|
|
|
|
realloc;
|
|
|
|
|
|
|
|
# t*
|
|
|
|
tr_break;
|
|
|
|
|
|
|
|
# v*
|
|
|
|
valloc;
|
|
|
|
}
|
2000-02-28 20:30:57 +00:00
|
|
|
GLIBC_2.1 {
|
1999-12-19 00:32:58 +00:00
|
|
|
# Special functions.
|
|
|
|
__libc_freeres;
|
|
|
|
}
|
2000-03-27 05:36:34 +00:00
|
|
|
GLIBC_2.2 {
|
|
|
|
# m*
|
2000-03-28 17:33:37 +00:00
|
|
|
mcheck_check_all; mcheck_pedantic;
|
2000-04-14 17:44:22 +00:00
|
|
|
|
|
|
|
# p*
|
|
|
|
posix_memalign;
|
2000-03-27 05:36:34 +00:00
|
|
|
}
|
2009-04-09 05:45:42 +00:00
|
|
|
GLIBC_2.10 {
|
|
|
|
malloc_info;
|
|
|
|
}
|
2011-12-24 04:49:48 +00:00
|
|
|
GLIBC_2.16 {
|
|
|
|
aligned_alloc;
|
|
|
|
}
|
2017-04-18 09:50:58 +00:00
|
|
|
GLIBC_2.26 {
|
2017-05-30 21:26:19 +00:00
|
|
|
reallocarray;
|
2017-04-18 09:50:58 +00:00
|
|
|
}
|
2020-09-01 20:17:25 +00:00
|
|
|
GLIBC_2.33 {
|
|
|
|
mallinfo2;
|
|
|
|
}
|
2002-12-06 11:11:08 +00:00
|
|
|
GLIBC_PRIVATE {
|
|
|
|
# Internal startup hook for libpthread.
|
|
|
|
__libc_malloc_pthread_startup;
|
2003-02-22 00:55:36 +00:00
|
|
|
|
|
|
|
# Internal destructor hook for libpthread.
|
|
|
|
__libc_thread_freeres;
|
2015-04-07 09:03:43 +00:00
|
|
|
|
|
|
|
# struct scratch_buffer support
|
2020-12-28 12:50:23 +00:00
|
|
|
__libc_scratch_buffer_dupfree;
|
2015-04-07 09:03:43 +00:00
|
|
|
__libc_scratch_buffer_grow;
|
|
|
|
__libc_scratch_buffer_grow_preserve;
|
|
|
|
__libc_scratch_buffer_set_array_size;
|
2017-05-30 21:26:19 +00:00
|
|
|
|
|
|
|
# Internal name for reallocarray
|
|
|
|
__libc_reallocarray;
|
2017-06-02 09:59:28 +00:00
|
|
|
|
|
|
|
# dynarray support
|
|
|
|
__libc_dynarray_at_failure;
|
|
|
|
__libc_dynarray_emplace_enlarge;
|
|
|
|
__libc_dynarray_finalize;
|
|
|
|
__libc_dynarray_resize;
|
|
|
|
__libc_dynarray_resize_clear;
|
2017-06-21 20:43:57 +00:00
|
|
|
|
|
|
|
# struct alloc_buffer support
|
|
|
|
__libc_alloc_buffer_alloc_array;
|
|
|
|
__libc_alloc_buffer_allocate;
|
|
|
|
__libc_alloc_buffer_copy_bytes;
|
|
|
|
__libc_alloc_buffer_copy_string;
|
|
|
|
__libc_alloc_buffer_create_failure;
|
2002-12-06 11:11:08 +00:00
|
|
|
}
|
1998-07-02 22:51:40 +00:00
|
|
|
}
|
2021-07-22 13:07:59 +00:00
|
|
|
|
|
|
|
# Keep in sync with symbols in libc.
|
|
|
|
libc_malloc_debug {
|
|
|
|
GLIBC_2.0 {
|
|
|
|
calloc;
|
|
|
|
free;
|
|
|
|
malloc;
|
|
|
|
memalign;
|
|
|
|
pvalloc;
|
|
|
|
realloc;
|
|
|
|
valloc;
|
|
|
|
|
|
|
|
}
|
|
|
|
GLIBC_2.2 {
|
|
|
|
posix_memalign;
|
|
|
|
}
|
|
|
|
GLIBC_2.16 {
|
|
|
|
aligned_alloc;
|
|
|
|
}
|
|
|
|
}
|