Does anybody have a link to a documentation what exactly is randomized in what cases for latest Mac OS (10.7) and iOS (6.0)?
I mean. I want to see a list (something like)
-
Code segment (in a case A,B,C)
-
Stack (always)
-
Heap
-
Data segment (never)
Preferably with how many bits of randomization each thing has.
All I can find is something like: “MacOS Lion implements full ASLR” and in other places “full ASLR is implemented different ways for different operation systems”, which is obviously not very informative.
The list you are looking for can easily be generated by you, as follows:
On mountain lion, this yields:
Showing ample randomization on all (note that due to alignment restrictions the offset within the page doesn’t get randomized, but you still get some 16-20-bit randomization, as implied by the 4-5 hex digits which change).
Hope this helps,
TG