]> git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/interpose-basic-prebound/foo.c
dyld-132.13.tar.gz
[apple/dyld.git] / unit-tests / test-cases / interpose-basic-prebound / foo.c
1
2 #include <stdbool.h>
3 #include <string.h>
4
5 bool check_dylib_interposing()
6 {
7 const char* x = strdup("123");
8 const char* y = strdup("456");
9
10 return ( (strcmp(x, "hello") == 0) && (strcmp(y, "hello") == 0) );
11 }
12