Re: Suggestions for C malloc debugging tool

stephens@math.ruu.nl (Bruce Stephens)
12 Jan 1997 11:29:52 -0500

          From comp.compilers

Related articles
Suggestions for C malloc debugging tool f81@ix.urz.uni-heidelberg.de (1997-01-07)
Re: Suggestions for C malloc debugging tool vlaures@igcom.fr (Laurent Sabarthez) (1997-01-09)
Re: Suggestions for C malloc debugging tool jlilley@empathy.com (1997-01-09)
Re: Suggestions for C malloc debugging tool colas@aye.inria.fr (1997-01-09)
Re: Suggestions for C malloc debugging tool lijnzaad@ebi.ac.uk (Philip Lijnzaad) (1997-01-12)
Re: Suggestions for C malloc debugging tool dickey@clark.net (T.E.Dickey) (1997-01-12)
Re: Suggestions for C malloc debugging tool stephens@math.ruu.nl (1997-01-12)
Re: Suggestions for C malloc debugging tool cef@geodesic.com (Charles Fiterman) (1997-01-12)
Re: Suggestions for C malloc debugging tool patil@ch.hp.com (Harish Patil) (1997-01-22)
Re: Suggestions for C malloc debugging tool taustin@ichips.intel.com (1997-01-25)
Re: Suggestions for C malloc debugging tool mercier@cinenet.net (1997-01-25)
| List of all articles for this month |
From: stephens@math.ruu.nl (Bruce Stephens)
Newsgroups: comp.compilers
Date: 12 Jan 1997 11:29:52 -0500
Organization: Utrecht University
References: 97-01-050 97-01-072
Keywords: C, storage, debug

>>>>> "Colas" == Colas Nahaboo <colas@aye.inria.fr> writes:


> Other "similar" (less powerful) tools exist in public domain in the
> linux community (checker, electric fence...). There may be other
> commercial products, but I dont have first-hand experience with
> them.


There's an extension to gcc which is Purify-like. Broadly, it does
what the original poster suggested, but does it within the compiler (I
seem to remember some machine-dependency, so presumably it does it at
a lowish level). It takes great care to allow mixtures of
checked/unchecked functions, which is a nice feature. If one were to
write yet another such tool, one should certainly read the
documentation that comes with the gcc add-on (a quick web search on
gcc+bounds+checking ought to find it)---it would surely give some
ideas.


--
Bruce Stephens | email: B.Stephens@math.ruu.nl
Utrecht University | telephone: +31 30 2534630
Department of Mathematics | telefax: +31 30 2518394
P.O. Box 80010, 3508 TA Utrecht, The Netherlands
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.