Dec 072017
 
MEMDEBUG version 1.5, a free utility for C provides memory management error detection of leaks, illegal free()'s, illegal access errors, off-by-one errors, memory usage profiling, trace of memory function calls, low memory

Full Description of File


MEMDEBUG version 1.5, a free utility for C
provides memory management error detection of
leaks, illegal free()'s, illegal access
errors, off-by-one errors, memory usage
profiling, trace of memory function calls,
low memory simulation, and more.


File MEMDEBUG.ZIP from The Programmer’s Corner in
Category C Source Code
MEMDEBUG version 1.5, a free utility for C provides memory management error detection of leaks, illegal free()’s, illegal access errors, off-by-one errors, memory usage profiling, trace of memory function calls, low memory
File Name File Size Zip Size Zip Type
FILE_ID.DIZ 251 170 deflated
MAKEFILE 758 371 deflated
MEMALPHA.C 20437 2808 deflated
MEMALPHA.H 3265 926 deflated
MEMDEBUG.C 56633 11732 deflated
MEMDEBUG.H 5881 1614 deflated
MEMDEBUG.PS 49418 15410 deflated
MEMFREE.C 20766 2805 deflated
MEMFREE.H 3290 929 deflated
MEMTYPES.I 2494 625 deflated
README 3829 1736 deflated
README.1ST 1713 811 deflated
TEST.C 14369 2707 deflated

Download File MEMDEBUG.ZIP Here

Contents of the README file


MEMDEBUG version 1.5, a free utility for C
provides memory management error detection of
leaks, illegal free()'s, illegal access
errors, off-by-one errors, memory usage
profiling, trace of memory function calls,
low memory simulation, and more.
MEMDEBUG version 1.5

Author: Rene Schmit
Email : [email protected]

************************************************************************

Copyright (C) 1992-1994
Centre de Recherche Public Henri Tudor
6, rue Coudenhove-Kalergi
L1359 Luxembourg-Kirchberg

This software may be copied, distributed, ported and modified in source or
object format as long as :

1) No distribution for commercial purposes is made.
2) No third-party copyrights (such as runtime licenses) are involved
3) This copyright notice is not removed or changed.

No responsibility is assumed for any damages that may result
from any defect in this software.

*************************************************************************


Package Description:


FEATURES:
---------
MEMDEBUG is a free utility for C programmers that provides,
among others, the following features:

* Memory management error detection:
Memory leaks
free()'s of unallocated memory blocks
...

* Memory usage error detection
Accesses to previously free()'ed memory
Off-by-one errors in memory blocks
...

* Memory usage profiling
All kind of memory usage statistics
Trace of memory function calls
...

* Error simulation
Low memory simulation
...


USAGE:
------
Using MEMDEBUG is very simple:

Compile the package once.

Add the following line to each of your sources:
#include "memdebug.h"

Recompile and link your program.

MEMDEBUG is activated by defining the MEMDEBUG
pre-processor symbol at compilation time


PLATFORMS:
----------
MEMDEBUG is written in ANSI C and should be completely portable.
It has been tested on the following platforms: ((?) == as far as I know)

MACINTOSH MPW C
GNU C
Think/Symantec C

PC Borland C
Microsoft C 7

HP Workstations (both 680x0 and RISC stations)
HP C
GNU C

DEC VAXC (feature subset, as VAXC not an ANSI compiler)
GNU C (?)

SUN SparcGNU C


DISTRIBUTION:
-------------
The distribution kit contains all necessary sources and
documentation (PostScript file). NO object files are provided.

There is a simple test program. BEWARE: this program might crash
on your machine, as it does some really nasty stuff. Use it primarily
to check which features are supported on your machine! (comment out
source until it doesn't crash any longer).

A sample makefile for UNIX users is included (provided by
Wilfred Mollenvanger and John Borst)

memalpha.c
memalpha.h
memdebug.c
memdebug.h
memfree.c
memfree.h
memtypes.i
test.c
README
Quickstarter_Guide.txt
Memdebug.ps
makefile

MEMDEBUG is free! It is available by ftp on the following server:

+-------------------------------------------------+
| ftp.crpht.lu in directory /pub/sources/memdebug |
+-------------------------------------------------+

This server is brand new, so there might still be some
problems, and the directory structure might change in the near
future.

People in the US might also try:

ftp.netcom.com in directory /pub/gurgle/memdebug

Feel free to make MEMDEBUG available on other ftp sites!

Support:
--------

There exist two mailing lists related to MEMDEBUG. For more
information, send an email to

[email protected]

with the following body

help
info memdebug
info memdebug-announce
end


You may also contact me by email if you
* have any problems
* detect any bugs
* have suggestions for improvements
* ported MEMDEBUG to a platform or compiler not mentionned above

And above all, email me if you

* like ๐Ÿ™‚ (or dislike ๐Ÿ™ ) MEMDEBUG


Contents of the README.1ST file


MEMDEBUG version 1.5, a free utility for C
provides memory management error detection of
leaks, illegal free()'s, illegal access
errors, off-by-one errors, memory usage
profiling, trace of memory function calls,
low memory simulation, and more.
MEMDEBUG version 1.5

Author: Rene Schmit
Email : [email protected]

************************************************************************

Copyright (C) 1992-1994
Centre de Recherche Public Henri Tudor
6, rue Coudenhove-Kalergi
L1359 Luxembourg-Kirchberg

This software may be copied, distributed, ported and modified in source or
object format as long as :

1) No distribution for commercial purposes is made.
2) No third-party copyrights (such as runtime licenses) are involved
3) This copyright notice is not removed or changed.

No responsibility is assumed for any damages that may result
from any defect in this software.

*************************************************************************


Package Description:


FEATURES:
---------
MEMDEBUG is a free utility for C programmers that provides,
among others, the following features:

* Memory management error detection:
Memory leaks
free()'s of unallocated memory blocks
...

* Memory usage error detection
Accesses to previously free()'ed memory
Off-by-one errors in memory blocks
...

* Memory usage profiling
All kind of memory usage statistics
Trace of memory function calls
...

* Error simulation
Low memory simulation
...


USAGE:
------
Using MEMDEBUG is very simple:

Compile the package once.

Add the following line to each of your sources:
#include "memdebug.h"

Recompile and link your program.

MEMDEBUG is activated by defining the MEMDEBUG
pre-processor symbol at compilation time


PLATFORMS:
----------
MEMDEBUG is written in ANSI C and should be completely portable.
It has been tested on the following platforms: ((?) == as far as I know)

MACINTOSH MPW C
GNU C
Think/Symantec C

PC Borland C
Microsoft C 7

HP Workstations (both 680x0 and RISC stations)
HP C
GNU C

DEC VAXC (feature subset, as VAXC not an ANSI compiler)
GNU C (?)

SUN SparcGNU C


DISTRIBUTION:
-------------
The distribution kit contains all necessary sources and
documentation (PostScript file). NO object files are provided.

There is a simple test program. BEWARE: this program might crash
on your machine, as it does some really nasty stuff. Use it primarily
to check which features are supported on your machine! (comment out
source until it doesn't crash any longer).

A sample makefile for UNIX users is included (provided by
Wilfred Mollenvanger and John Borst)

memalpha.c
memalpha.h
memdebug.c
memdebug.h
memfree.c
memfree.h
memtypes.i
test.c
README
Quickstarter_Guide.txt
Memdebug.ps
makefile

MEMDEBUG is free! It is available by ftp on the following server:

+-------------------------------------------------+
| ftp.crpht.lu in directory /pub/sources/memdebug |
+-------------------------------------------------+

This server is brand new, so there might still be some
problems, and the directory structure might change in the near
future.

People in the US might also try:

ftp.netcom.com in directory /pub/gurgle/memdebug

Feel free to make MEMDEBUG available on other ftp sites!

Support:
--------

There exist two mailing lists related to MEMDEBUG. For more
information, send an email to

[email protected]

with the following body

help
info memdebug
info memdebug-announce
end


You may also contact me by email if you
* have any problems
* detect any bugs
* have suggestions for improvements
* ported MEMDEBUG to a platform or compiler not mentionned above

And above all, email me if you

* like ๐Ÿ™‚ (or dislike ๐Ÿ™ ) MEMDEBUG
This file is intended for those that don't have the time to RTFM
before they test the program. It is an excerpt from the
documentation.
To take full benefit from MEMDEBUG, you should read the manual!

rEnE
--------------------------------------------------------------------

Using Memdebug in a Program

To produce the MEMDEBUG object code file, you have to compile
memdebug.c, memfree.c and memalpha.c. BEWARE: don't define the
MEMDEBUG symbol, else the utility will end up in an infinite loop!

Three operations are necessary to add Memdebug's facilities to
a program. First, the library header needs to be
included into every source file of the program. If the program
owns a common header file that is included everywhere, it's
simplest to include there.

Then, the MEMDEBUG pre-processor symbol has to be defined to
enable Memdebug's functions. If possible, you should do this
on the compiler call line (using -d or -define or similar).
Of course, you may also define (or #undefine) the symbol
before every inclusion of .

Finally, you will need to include the Memdebug object file
to your link list.

This is all that is needed to get the basic, default information
of Memdebug. All errors will be detected by Memdebug, and final
statistics will be generated. All output will be send to stderr
and stdout. The internal memory limit is set to infinite, and no
call sequence trace is generated (to save some memory). Memory
contents are destroyed when a free() of a pointer is made.

The first call to a memory management function will start Memdebug.
Thus, if no memory function is used, no final statistics will be
printed.


 December 7, 2017  Add comments

Leave a Reply