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: Eljay Love-Jensen <eljay at adobe dot com>
- To: Andy Howell <AndyHowell at austin dot rr dot com>, gcc-help at gcc dot gnu dot org
- Date: Fri, 25 Jul 2003 12:20:40 -0500
- Subject: Re: Looking for good Purify like memory check tool for gcc
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