Lines Matching refs:SCUDO_PREFIX

9 #ifndef SCUDO_PREFIX
10 #error "Define SCUDO_PREFIX prior to including this file!"
22 INTERFACE WEAK void *SCUDO_PREFIX(calloc)(size_t nmemb, size_t size) {
35 INTERFACE WEAK void SCUDO_PREFIX(free)(void *ptr) {
39 INTERFACE WEAK struct SCUDO_MALLINFO SCUDO_PREFIX(mallinfo)(void) {
57 INTERFACE WEAK void *SCUDO_PREFIX(malloc)(size_t size) {
63 INTERFACE WEAK size_t SCUDO_PREFIX(malloc_usable_size)(const void *ptr) {
65 INTERFACE WEAK size_t SCUDO_PREFIX(malloc_usable_size)(void *ptr) {
70 INTERFACE WEAK void *SCUDO_PREFIX(memalign)(size_t alignment, size_t size) {
92 INTERFACE WEAK int SCUDO_PREFIX(posix_memalign)(void **memptr, size_t alignment,
107 INTERFACE WEAK void *SCUDO_PREFIX(pvalloc)(size_t size) {
122 INTERFACE WEAK void *SCUDO_PREFIX(realloc)(void *ptr, size_t size) {
134 INTERFACE WEAK void *SCUDO_PREFIX(valloc)(size_t size) {
139 INTERFACE WEAK int SCUDO_PREFIX(malloc_iterate)(
146 INTERFACE WEAK void SCUDO_PREFIX(malloc_enable)() { SCUDO_ALLOCATOR.enable(); }
148 INTERFACE WEAK void SCUDO_PREFIX(malloc_disable)() {
152 void SCUDO_PREFIX(malloc_postinit)() {
154 pthread_atfork(SCUDO_PREFIX(malloc_disable), SCUDO_PREFIX(malloc_enable),
155 SCUDO_PREFIX(malloc_enable));
158 INTERFACE WEAK int SCUDO_PREFIX(mallopt)(int param, int value) {
201 INTERFACE WEAK void *SCUDO_PREFIX(aligned_alloc)(size_t alignment,
214 INTERFACE WEAK int SCUDO_PREFIX(malloc_info)(UNUSED int options, FILE *stream) {
218 SCUDO_PREFIX(calloc)(max_size, sizeof(scudo::uptr)));
231 SCUDO_PREFIX(free)(sizes);
238 INTERFACE WEAK void SCUDO_PREFIX(malloc_disable_memory_tagging)() {
246 SCUDO_PREFIX(malloc_set_track_allocation_stacks)(int track) {
251 INTERFACE WEAK void SCUDO_PREFIX(malloc_set_zero_contents)(int zero_contents) {
258 SCUDO_PREFIX(malloc_set_pattern_fill_contents)(int pattern_fill_contents) {
267 SCUDO_PREFIX(malloc_set_add_large_allocation_slack)(int add_slack) {