This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Looking for good Purify like memory check tool for gcc
- From: "Tony Wetmore" <tony dot wetmore at solipsys dot com>
- To: "'Andy Howell'" <AndyHowell at austin dot rr dot com>, "'Eljay Love-Jensen'" <eljay at adobe dot com>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Fri, 25 Jul 2003 14:18:03 -0400
- Subject: RE: Looking for good Purify like memory check tool for gcc
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