AminetAminet
Search:
82086 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/debug/memguardian.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Simple memory tracking framework for C/C++
Author:Juha Niemimaki
Uploader:JN
Type:dev/debug
Version:0.1
Architecture:ppc-amigaos >= 4.0.0
Date:2005-04-26
Download:http://aminet.net/dev/debug/memguardian.lha - View contents
Readme:http://aminet.net/dev/debug/memguardian.readme
Downloads:1347
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.



Contents of dev/debug/memguardian.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  158     320  49.4% -lh5- 7d4b Apr 26  2005 MemGuardian/makefile
[generic]                 2126   12337  17.2% -lh5- 46fc Apr 26  2005 MemGuardian/MemGuardian.c
[generic]                  896    3373  26.6% -lh5- dbbb Apr 26  2005 MemGuardian/MemGuardian.h
[generic]                 1342    3758  35.7% -lh5- 9095 Apr 26  2005 MemGuardian/readme.txt
[generic]                 4436   11108  39.9% -lh5- c6d2 Apr 26  2005 MemGuardian/test
[generic]                  517    1086  47.6% -lh5- ea0b Apr 26  2005 MemGuardian/test.c
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         6 files    9475   31982  29.6%            Apr 26  2005

Aminet © 1992-2017 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>