search for: sec09_memory

Displaying 3 results from an estimated 3 matches for "sec09_memory".

2012 Aug 14
1
[LLVMdev] [cfe-dev] global alignment
...has no inherent limitations. Note that this is quite expensive and is leaving a potentially huge gap on your stack. > > I'll admit to being curious as to why you actually need larger-than-page-size alignment. Baggy Bounds Checking: http://static.usenix.org/event/sec09/tech/full_papers/sec09_memory.pdf -- John T.
2012 Aug 14
0
[LLVMdev] [cfe-dev] global alignment
On Aug 14, 2012, at 7:31 AM, Baozeng wrote: > Hello all, > I found that the alignment for stack value has no limitation, but for global value, it has a limitation. > > Here is an example: > > #include <stdio.h> > #include <stdlib.h> > > char x[4000] __attribute__((aligned(4096))); > > int > main (int argc, char ** argv) { > char y[4000]
2012 Aug 14
3
[LLVMdev] global alignment
Hello all, I found that the alignment for stack value has no limitation, but for global value, it has a limitation. Here is an example: #include <stdio.h> #include <stdlib.h> char x[4000] __attribute__((aligned(4096))); int main (int argc, char ** argv) { char y[4000] __attribute__((aligned(4096))); printf("x is %p\n", x); printf("y is %p\n", y); return