This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
out of bound memory check
- From: Amol Kumar Lad <amolk at ishoni dot com>
- To: gcc at gcc dot gnu dot org
- Date: 28 Aug 2002 10:42:46 -0400
- Subject: out of bound memory check
Hi,
Is is possible to catch out of bound memory access in gcc ?
For example
int a[100];
int *p = a;
*(p + 200) = 5; <-- I need to catch this
Is there any compiler support ??
I also don't know how Rational purify and other mem-tools catch
overbound access..
Please cc me as I am not subscribed to list
thanks
Amol