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
- Subject: [Frama-c-discuss] Problem running frama-c in Windows
- From: ricardoalmeida1985 at gmail.com (Ricardo Almeida)
- Date: Tue, 22 Jun 2010 00:06:08 +0100
- In-reply-to: <AANLkTimOBiqSb1YhIo00q_F8PO8NgH0FL9CBv6j45tjQ@mail.gmail.com>
- References: <AANLkTimzXpxtRuf-_3mU2F1VMv48rONp8jkUYAUBGTCE@mail.gmail.com> <AANLkTikLItuq0iPEpz_SSBLwrNOv-an0gMyffn663V-c@mail.gmail.com> <AANLkTimps6TDCXm8HhkBl0odUUcrMaZ1N5uD5nWrcfRL@mail.gmail.com> <20100617090202.34abda96@is010235> <AANLkTikqNMviMmZL3AHXkmQGW8p7q5KQpu7NeqU3KckW@mail.gmail.com> <AANLkTimeJMe6WRCcUHHWWQsO34NJJlcIe4fj13g3Xbbm@mail.gmail.com> <AANLkTimOBiqSb1YhIo00q_F8PO8NgH0FL9CBv6j45tjQ@mail.gmail.com>
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 verified. Thank you Ricardo On Mon, Jun 21, 2010 at 10:07 PM, David MENTRE <dmentre at linux-france.org>wrote: > Hello, > > 2010/6/21 Ricardo Almeida <ricardoalmeida1985 at gmail.com>: > > 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. > > http://lists.gforge.inria.fr/pipermail/frama-c-discuss/2010-June/002107.html > > Best regards, > d. > > _______________________________________________ > Frama-c-discuss mailing list > Frama-c-discuss at lists.gforge.inria.fr > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/frama-c-discuss > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20100622/d43d59a8/attachment-0001.htm>
- References:
- [Frama-c-discuss] Problem running frama-c in Windows
- From: ricardoalmeida1985 at gmail.com (Ricardo Almeida)
- [Frama-c-discuss] Problem running frama-c in Windows
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- [Frama-c-discuss] Problem running frama-c in Windows
- From: ricardoalmeida1985 at gmail.com (Ricardo Almeida)
- [Frama-c-discuss] Problem running frama-c in Windows
- From: virgile.prevosto at cea.fr (Virgile Prevosto)
- [Frama-c-discuss] Problem running frama-c in Windows
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- [Frama-c-discuss] Problem running frama-c in Windows
- From: ricardoalmeida1985 at gmail.com (Ricardo Almeida)
- [Frama-c-discuss] Problem running frama-c in Windows
- From: dmentre at linux-france.org (David MENTRE)
- [Frama-c-discuss] Problem running frama-c in Windows
- Prev by Date: [Frama-c-discuss] Problem running frama-c in Windows
- Next by Date: [Frama-c-discuss] Frama-C
- Previous by thread: [Frama-c-discuss] Problem running frama-c in Windows
- Next by thread: [Frama-c-discuss] Problem running frama-c in Windows
- Index(es):