Platform: Mac OS X
Lang: Obj-C/C
Is it possible to somehow make 'malloc' to allocate memory within first 4GB of process address space ?
I'm emulating i386 stack and need to guarantee that address will lie within allowed 32bit range.
Using mmap+MAP_FIXED requires to RESERVE memory before any 'malloc', it's not quite convenient. 'malloc' with constraints would be much more handy.