projects
/
apple
/
dyld.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
dyld-733.6.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