Re:Pointers Are Complicated, or What’s in a Byte?
by yoklov on Wednesday July 25, 2018 @05:41AM
(#17608023)
One option: Just go further up the chain. Malloc is going to be implemented (probably) using mmap/VirtualAlloc/whatever, just teach the system about those native calls as allocations.
(This probably is not a satisfying resolution there, since it's likely impossible to enumerate all the primitive memory allocation functions)
(This probably is not a satisfying resolution there, since it's likely impossible to enumerate all the primitive memory allocation functions)