pub unsafe fn malloc(size: u64) -> *mut c_void
Implement malloc in terms of rust’s alloc.
malloc
alloc
It stores the size of the allocation in the first 8 bytes of the allocation.