Lines Matching defs:malloc
10 // Linux-specific malloc interception.
11 // We simply define functions like malloc, free, realloc, etc.
58 INTERCEPTOR(void*, malloc, uptr size) {
60 // Hack: dlsym calls malloc before REAL(malloc) is retrieved from dlsym.
109 // We avoid including malloc.h for portability reasons.
152 void *(*malloc)(uptr bytes);
164 void *(*malloc)(uptr bytes);
174 WRAP(malloc), WRAP(free), WRAP(calloc),
179 WRAP(malloc), WRAP(malloc_usable_size), WRAP(memalign),