lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | libc { |
| 2 | GLIBC_2.0 { |
| 3 | # global variables |
| 4 | _obstack; |
| 5 | |
| 6 | # interface of malloc functions |
| 7 | __libc_calloc; __libc_free; __libc_mallinfo; __libc_malloc; |
| 8 | __libc_mallopt; __libc_memalign; __libc_pvalloc; __libc_realloc; |
| 9 | __libc_valloc; |
| 10 | __malloc_initialize_hook; __free_hook; __malloc_hook; __realloc_hook; |
| 11 | __memalign_hook; __after_morecore_hook; |
| 12 | __malloc_initialized; __default_morecore; __morecore; |
| 13 | |
| 14 | # functions used in inline functions or macros |
| 15 | _obstack_allocated_p; _obstack_begin; _obstack_begin_1; |
| 16 | _obstack_free; _obstack_memory_used; _obstack_newchunk; |
| 17 | |
| 18 | # variables in normal name space |
| 19 | mallwatch; obstack_alloc_failed_handler; obstack_exit_failure; |
| 20 | |
| 21 | # c* |
| 22 | calloc; cfree; |
| 23 | |
| 24 | # f* |
| 25 | free; |
| 26 | |
| 27 | # m* |
| 28 | mallinfo; malloc; malloc_get_state; malloc_set_state; malloc_stats; |
| 29 | malloc_trim; malloc_usable_size; mallopt; memalign; mprobe; mtrace; |
| 30 | muntrace; |
| 31 | |
| 32 | # o* |
| 33 | obstack_free; |
| 34 | |
| 35 | # p* |
| 36 | pvalloc; |
| 37 | |
| 38 | # r* |
| 39 | realloc; |
| 40 | |
| 41 | # t* |
| 42 | tr_break; |
| 43 | |
| 44 | # v* |
| 45 | valloc; |
| 46 | } |
| 47 | GLIBC_2.1 { |
| 48 | # Special functions. |
| 49 | __libc_freeres; |
| 50 | } |
| 51 | GLIBC_2.2 { |
| 52 | # m* |
| 53 | mcheck_check_all; mcheck_pedantic; |
| 54 | |
| 55 | # p* |
| 56 | posix_memalign; |
| 57 | } |
| 58 | GLIBC_2.10 { |
| 59 | malloc_info; |
| 60 | } |
| 61 | GLIBC_2.16 { |
| 62 | aligned_alloc; |
| 63 | } |
| 64 | GLIBC_PRIVATE { |
| 65 | # Internal startup hook for libpthread. |
| 66 | __libc_malloc_pthread_startup; |
| 67 | |
| 68 | # Internal destructor hook for libpthread. |
| 69 | __libc_thread_freeres; |
| 70 | |
| 71 | # struct scratch_buffer support |
| 72 | __libc_scratch_buffer_grow; |
| 73 | __libc_scratch_buffer_grow_preserve; |
| 74 | __libc_scratch_buffer_set_array_size; |
| 75 | } |
| 76 | } |