MemGuardian 0.1 - a simple debug-time memory tracker for C/C++ programs
-----------------------------------------------------------------------
MemGuardian's purpose is to help tracking memory allocation and deallocation. It
tries to catch
possible memory leaks, deallocations that happen more than once, attempts to
free non-allocated
memory and attempts to use wrong deallocation method with allocated memory.
The concept can be easily extended to "any" resource, it's only a matter of
writing more wrapper functions.
Currently it supports memory tracking via functions:
- MG_malloc (malloc), MG_free (free), MG_AllocVec (IExec->AllocVec), MG_FreeVec
(IExec->FreeVec)
And via overloaded C++ operators:
- new, new [], delete, delete []
MemGuardian is Public Domain.
| |