Well, after finally getting a little bit dirty with Linux’s malloc implementation. I wrote a small tool that may help some people visualize the process of allocating and freeing that occurs on the heap. I’m still tweaking the code here and there as I try to inspect more of the internals. Hope this helps someone out there.

heapinfo.c