On Wed, Nov 02, 2011 at 01:55:50PM +0100, Peter Toft wrote:
> > There is also mudflap of gcc which claims to catch exactly this sort
> > of errors.
> 
> I might be mistaking here.... but if the value if "i" is set from argv
> or alike then mudflap cannot help on this problem.

It worked for me for overflows (e.g., i = 2) but not underflows (with -1
as in your original posting), regardless of how i has been set. That's
interesting, I wasn't aware of that.

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