]> git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/read-only-import-shared-cache-dlopen-override/mymalloc.c
dyld-733.6.tar.gz
[apple/dyld.git] / unit-tests / test-cases / read-only-import-shared-cache-dlopen-override / mymalloc.c
1 #include <stdlib.h>
2 #include <mach-o/dyld-interposing.h>
3
4 void* mymalloc(size_t s)
5 {
6 return malloc(s);
7 }
8
9 DYLD_INTERPOSE(mymalloc, malloc)