Lines Matching defs:malloc
12 // Linux-specific malloc interception.
13 // We simply define functions like malloc, free, realloc, etc.
60 INTERCEPTOR(void*, malloc, uptr size) {
62 // Hack: dlsym calls malloc before REAL(malloc) is retrieved from dlsym.
111 // We avoid including malloc.h for portability reasons.
154 void *(*malloc)(uptr bytes);
166 void *(*malloc)(uptr bytes);
176 WRAP(malloc), WRAP(free), WRAP(calloc),
181 WRAP(malloc), WRAP(malloc_usable_size), WRAP(memalign),