projects
/
apple
/
dyld.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
dyld-733.8.tar.gz
[apple/dyld.git]
/
testing
/
test-cases
/
interpose-malloc.dtest
/
foo.c
1
2
#include <stdlib.h>
3
4
void
*
myalloc1
(
size_t
sz
)
5
{
6
return
malloc
(
sz
);
7
}
8
9
void
* (*
pMalloc
)(
size_t
) = &
malloc
;
10
11
void
*
myalloc2
(
size_t
sz
)
12
{
13
return
(*
pMalloc
)(
sz
);
14
}
15