On Fri, Jun 13, 2003 at 12:46:17PM -0500, Jean-Philippe Martin wrote:
> 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.

Could you be confusing the glibc MALLOC_CHECK_ environment variable with
bounds checking?  gcc 3.3 only has bounds checking for Java and Fortran
(-fbounds-check).  I think valgrind might be what you are looking for,
but I have not tried it myself.

-- 
Andrew Gaul
http://gaul.org/
_______________________________________________
Siglinux mailing list
[EMAIL PROTECTED]
http://www.utacm.org/mailman/listinfo/siglinux

Reply via email to