From: jbuchana@kopt0126.delcoelect.com
Subject: mem_test -helps find memory leaks in C code
Date: 1997/03/13 [thread overview]
Message-ID: <pgpmoose.199703132024.31634@liw.clinet.fi> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
mem_test helps you find the memory leaks that can result in a C
program when you allocate memory and don't free it (amazingly easy to
do even when trying to be careful). It does not look for illegal
memory access, for that I suggest Bruce Peren's Electric Fence, which
may be used in conjunction with mem_test.
mem_test consists of three basic components, a header file to include
in the program being tested, a library to link with, and a program to
analyze the log file that is created when the program is executed.
Perhaps I should make a "yet another" joke, this is certainly not the
only first ever written for this purpose. But it is the one I wrote
for my own use, and I felt that it might be useful to others.
mem_test is known to work under Linux (of course!), SunOS 4.1.2 and
HPUX 9.05.
You can get mem_test v0.10 at:
http://www.iquest.net/~jbuchana/computer.html
Jim Buchanan c22jrb@dawg.delcoelect.com jbuchana@iquest.net
=================== http://www.iquest.net/~jbuchana ======================
"A women came up to me and said, I'd like to poison your mind
with wrong ideas that appeal to you, though I am not unkind."
-They Might be Giants
==================== http://hybiss.delcoelect.com ========================
- --
This article has been digitally signed by the moderator, using PGP.
http://www.iki.fi/liw/lars-public-key.asc has PGP key for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.
This group is archived at http://www.iki.fi/liw/linux/cola.html
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
iQCVAwUBMyhGP4QRll5MupLRAQF1NQP+M9qzjf4gZ+1IjxrmgCL7gRfaSArVY4vB
fJDZTf+XZj1HfzE4kq9Cx6BDPAVtB4WFgYbAVYh03QS9sZffbJOpBhawqL9NFdgv
ct8fIqVYpDHAvOFeEoKNQjBmuGCMVRA/WigoKOtmpqUOosV3IFmePDplw/8N7pfp
07zqOcmbli0=
=juKx
-----END PGP SIGNATURE-----
reply other threads:[~1997-03-13 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox