Implement a hardened allocator
A good, hardened malloc needs to be written. Right now we use the musl-libc allocator, stripped of thread safety.
Base on DieHarder
Interaction with the OS should be limited to a simple mmap-style interface.
Check also for recent improvements in the OpenBSD or other hardened allocators.