projects
/
apple
/
dyld.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
dyld-851.27.tar.gz
[apple/dyld.git]
/
testing
/
kernel-cache-tests
/
kernel-base-address-x86_64
/
main.c
1
2
int
g
=
2
;
3
4
int
foo
() {
5
return
g
;
6
}
7
8
__typeof
(&
foo
)
fooPtr
= &
foo
;
9
10
__attribute__
((
section
((
"__HIB, __data"
))))
11
int
f
=
1
;
12
13
__attribute__
((
section
((
"__HIB, __data"
))))
14
int
*
fPtr
= &
f
;
15
16
__attribute__
((
section
((
"__HIB, __text"
))))
17
int
_start
() {
18
return
f
+
fooPtr
();
19
}