Re: Valgrind

From: Florin Andrei <florin@dont-contact.us>
Date: 01 Aug 2002 13:54:39 -0700

Have you tried it with 2.5PRE ?

On Mon, 2002-07-29 at 11:46, Joe Cooper wrote:
> I experimented with Valgrind on Squid yesterday, and couldn't make much
> sense of the results (still reading the docs). Looked like all
> complaints were about system libraries rather than Squid itself...But
> then, I don't think I was using it correctly either. ;-)
>
> I'll keep prodding at it in my spare time, as it looks like a nifty tool
> that I'd be better off knowing how to use.
>
> Florin Andrei wrote:
> > http://developer.kde.org/~sewardj/
> >
> > Valgrind is a GPL'd tool to help you find memory-management problems in
> > your programs. When a program is run under Valgrind's supervision, all
> > reads and writes of memory are checked, and calls to
> > malloc/new/free/delete are intercepted. As a result, Valgrind can detect
> > problems such as:
> >
> > * Use of uninitialised memory
> > * Reading/writing memory after it has been free'd
> > * Reading/writing off the end of malloc'd blocks
> > * Reading/writing inappropriate areas on the stack
> > * Memory leaks -- where pointers to malloc'd blocks are lost forever
> > * Passing of uninitialised and/or unaddressible memory to system
> > calls
> > * Mismatched use of malloc/new/new [] vs free/delete/delete []
> > * Some misuses of the POSIX pthreads API
> >
>
>
>
> --
> Joe Cooper <joe@swelltech.com>
> Web caching appliances and support.
> http://www.swelltech.com
>

-- 
Florin Andrei
"Some times are fuzzier than others." - Dan Farmer & Wietse Venema
Received on Thu Aug 01 2002 - 14:54:42 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:16:00 MST