On Tue, 9 Jul 2002, Conor Lennon wrote:
> I'm looking for a linux application like purify that detects memory
> leaks, unitialised memory reads, out-of-bounds errors, etc. in an
> application.
There isn't a specific application freely available like purify but there
is a few simple steps you can take. Linking with Electric Fence (-lefence)
will trap out of bounds errors
checker I hear is good at finding memory leaks and is available from
http://www.gnu.org/directory/checker.html
I'm not sure on the unitialised memory reads front but if you compile with
-Wall, it'll catch a few of them
--
Mel Gorman
MSc Student, University of Limerick
http://www.csn.ul.ie/~mel
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!