On Tue, Nov 01, 2011 at 11:33:20PM +0100, Peter Toft wrote:
>   int i=-1,a[2],b[2],c[2];
>   a[0] = 1; a[1] = 2;
>   b[0] = 3; b[1] = 4;
>   c[0] = 5; c[1] = 6;
>   printf("%i %in",b[i],a[i]);
...
>  Are there supplementary tools I should check?

There is also mudflap of gcc which claims to catch exactly this sort of
errors. It isn't perfect, either.

With kind regards,
Baurzhan.

------------------------------------------------------------------------------
RSA® Conference 2012
Save $700 by Nov 18
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to