dr_global_alloc

Function dr_global_alloc 

Source
pub unsafe extern "C" fn dr_global_alloc(size: usize) -> *mut c_void
Expand description

Allocates \p size bytes of memory from DR’s global memory pool. This memory is only guaranteed to be aligned to the pointer size: 8 byte alignment for 64-bit; 4-byte alignment for 32-bit. (The wrapped malloc() guarantees the more standard double-pointer-size.)