Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] Problem running frama-c in Windows

Hi David,

Yes, that was exactly the problem! I added

\forall integer i; 0<=i && i<n ==> -2147483647 <= v[i] <= 2147483647;

to both the contractum and the loop invariant and now all my VCs are

Thank you

On Mon, Jun 21, 2010 at 10:07 PM, David MENTRE <dmentre at>wrote:

> Hello,
> 2010/6/21 Ricardo Almeida <ricardoalmeida1985 at>:
> > and in order to complete what I'm trying to do, that would be more useful
> to
> > me than to set gwhy working. I should add that I actually know the code
> line
> > that causes 1 VC not to be verified, it is
> >
> > v[i] = -v[i]
> If your 'v' is a int array, that you might stumble on the same issue
> as Viktoriia about ten days ago, i.e. you cannot do y=-x if x==-2^31
> because positive C ints are limited to 2^31-1.
> Best regards,
> d.
> _______________________________________________
> Frama-c-discuss mailing list
> Frama-c-discuss at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>