Original Post
I am making available under the GPL a portable memory manager/tracker for C and C++ that can spot the following problems: memory leaks, double-free, allocation over/underruns, unused memory, and use-after-free. Basically, it is a more capable and customizable replacement for VC's debug heap and/or the memory part of BoundsChecker. Download at http://www.stud.uni-karlsruhe.de/~urkt/mmgr.zip ; see documentation in mmgr.h . Installation: the newest MS debugging tools are required; download and copy dbghelp.* into the appropriate compiler directories. The mmgr code (~1400 lines) is fairly clean and documented by now, but isn't yet finished, i.e. bulletproof and armor-plated. In particular, a good deal of dependencies on my personal library remain; the headers needed to compile are included. Bug reports, suggestions, and comments are very welcome. Please do make sure, however, that you aren't reporting bugs in your own application! ;) It is my hope that this release helps someone avoid the pain of tracking down hard-to-find memory corruption. Pay it forward! // edit: added link to the now mandatory debug tools [Edited by - Jan Wassenberg on February 21, 2005 1:03:36 PM]