On Fri, Jun 13, 2003 at 12:46:17PM -0500, Jean-Philippe Martin wrote:
> Hi all,
> 
> I vaguely remember that there exists some environment variable that, if
> set, will cause gcc (or the linker?) to add range checks to detect buffer
> overflows and the like. I tried googling for it, but didn't come up with
> anything.
 
hmm, i don't think it's a native gcc feature.  perhaps you're looking for
something like electricfence (see efence(3) man page)?

if you use your own malloc instead of glibcs, several support range
checking given proper initialization, but i've never gone that route
so i can't provide more info.  googling for malloc replacement will
probably do the trick tho.

> I'm sorry this is so vague. Hopefully, someone in the list has used that
> feature before and can see what I'm talking about?

personally, i've only ever used rational's purify.  it's absolutely
the bomb and absolutely ridiculously expensive.
fortunately there's a free trial download for windows at least and
probably *nix as well.

luck++;
_______________________________________________
Siglinux mailing list
[EMAIL PROTECTED]
http://www.utacm.org/mailman/listinfo/siglinux

Reply via email to