Summer is a good time to revisit the old VMMap 2007 sample from Windows via C/C++ book. I've explained the Windows implementation improvements and the Linux port to this new blog post and the source code is available in github.com/chrisnas/ASMap. chrisnas.github.io/posts/2026-0... Happy reading!
How to map the address space of a process on Windows and Linux
From a 2007 Windows via C/C++ VMMap demo to a modern Windows 11 analyzer and its Linux /proc/smaps counterpart - and why Working Set, RSS/PSS and 'committed' memory do not mean the same thing on the t...
chrisnas.github.io