1 2 3 4 5 6 7 8 9
#include <stdlib.h> #include <assert.h> void* malloc(size_t size) { assert(__libc_malloc); return __libc_malloc(size); }