malloc_object_size

Function malloc_object_size 

Source
pub unsafe extern "C" fn malloc_object_size(
    ptr: *const c_void,
) -> usize
Expand description

return an upper bound on object size for any pointer based on malloc metadata