OS4Depot.net 20130227_1013
  Home Search Mirrors Contact Info Credits

 Readme data for Root » Development » Debug » memguardian.lha

Description: Simple memory tracking framework for C/C++
Install: memguardian.lha
Size: 10kb 5
Version: 0.1
Date: 26 Apr 05
Author: Juha Niemimaki
Submitter: JN
Email: jniemima/mail student oulu fi
Category: development/debug
License: Public domain
Distribute: yes
Min OS Version: 4.0
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.










Copyright (c) 2004-2013 Björn Hagström. All rights reserved.
OS4 and its logos are registered trademarks of Hyperion Entertainment