]>
git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/interpose-weak.dtest/interposer.c
2 #include <mach-o/dyld-interposing.h>
5 extern int foo4() __attribute__((weak_import
));
9 int myfoo2() { return 12; }
10 int myfoo4() { return 14; }
14 DYLD_INTERPOSE(myfoo2
, foo2
)
15 DYLD_INTERPOSE(myfoo4
, foo4
)