OS4 DepotLogo by Nickman 
(anonymous IP: 3.22.223.160,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (204)
   o Development (604)
   o Document (24)
   o Driver (98)
   o Emulation (149)
   o Game (1020)
   o Graphics (505)
   o Library (119)
   o Network (235)
   o Office (67)
   o Utility (932)
   o Video (70)

Total files: 4421

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Development » Debug » memguardian.lha

Memguardian

Description: Simple memory tracking framework for C/C++
Download: memguardian.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 10kb
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
FileID: 712
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 15  (Current version)
15  (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
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-2025 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment