hi lazyweb, is there a consensus about the best hardened-for-security memory allocation library for C and C++ right now?
-
-
I had assume you were mmapping at addresses of your choosing, keeping track of addresses in use yourself, able to choose not to reuse.
-
I now see you literally meant “two mmap calls for malloc” and nothing more.
-
Which is simpler, if you are sure mmap doesn't place all the guard pages conveniently together at the end of the address space?
-
I meant the first one for the full range with guard and the second MAP_FIXED over top of the beginning for the usable space.
-
But mprotect would probably work just as well for making the usable space.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.