Looking for good Purify like memory check tool for gcc

Tony Wetmore tony.wetmore@solipsys.com
Fri Jul 25 22:47:00 GMT 2003


If you want something that runs (only) on Linux, you might check out
Valgrind:

   http://developer.kde.org/~sewardj/

Essentially it works by running your process in a sort of virtual
machine environment, so it can detect all sorts of weirdness, but it can
slow down your process quite a bit.  Assuming that's not a problem for
you, this may be a good tool.

---
Tony Wetmore
Raytheon Solipsys
mailto:tony.wetmore@solipsys.com
http://www.solipsys.com
 
 


-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of Andy Howell
Sent: Friday, July 25, 2003 1:52 PM
To: Eljay Love-Jensen
Cc: gcc-help@gcc.gnu.org
Subject: Re: Looking for good Purify like memory check tool for gcc


Eljay Love-Jensen wrote:
> Hi Andy,
> 
> I recommend IBM Rational PurifyPlus for Linux, and IBM Rational 
> PurifyPlus for Unix (Solaris).
> 
> q.v. <http://www.rational.com/products/pqc/index.jsp>
> 
> Or, alternatively, you can write your own general-purpose new, delete,

> new[] and delete[] (and/or malloc/alloc/realloc/free) routines which 
> you've instrumented with start/end sentinels (for write-overruns) and 
> allocation tracking (for memory leaks).
> 
> For a cheaper solution, try running your code through Borland's 
> CodeGuard.  (Is CodeGuard still around...?)

Eljay,

	Thanks. I've used Purify previously and was happy with it. I
checked 
out the site, but could not get a price, as they are moving it over to 
IBM's site.

This is for my own enjoyment, so I'm looking for something on the cheap,

preferably open source.

Andy



More information about the Gcc-help mailing list