]>
git.saurik.com Git - apple/dyld.git/blob - testing/kernel-cache-tests/kernel-base-address/main.c
2 // Add a large buffer so that we know we have a bunch of stuff in __DATA
3 // and can more easily see that all the segments have moved around correctly, not just
4 // got lucky that all are the same size
6 char buffer
[1024 * 16];
9 int *gs
[] = { &f
, &f
, 0, (int*)&buffer
[0], (int*)&buffer
[1] };
12 return *gs
[0] + *gs
[1];;