I want to allocate a bunch of memory starting from address 0x00000000
using mmap() or vm_allocate() on OS X 10.2. By default apps don't allow
this to protect against NULL pointer mischief - how do I change things
so that I can map this memory?
So far I've discovered it is the linker that is stopping me - it inserts
a no access block called __PAGEZERO in the zeroth page and other stuff
such as a __TEXT block and the actual executable code follows shortly
thereafter. I figured out how to link the program so that it loaded
itself in ...