On Wed, 2 Nov 2011 13:20:55 +0100, Baurzhan Ismagulov wrote: 

> 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.

I might be mistaking here.... but if the
value if "i" is set from argv or alike then mudflap cannot help on this
problem.

Best

Peter

-- 

Peter Toft, PhD
http://petertoft.dk
  
------------------------------------------------------------------------------
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