This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Description
It draws attention directly by being marked safe but using a raw pointer argument.
It seems trivial to segfault using this function in safe rust, just give it a pointer to something not allocated, or a dangling pointer.
Tested using heapsize 0.1.0
heapsize::heap_size_of(2 as *const _);