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] WP - Verifiable annotations with some types but not others
- Subject: [Frama-c-discuss] WP - Verifiable annotations with some types but not others
- From: jens.gerlach at first.fraunhofer.de (Jens Gerlach)
- Date: Fri, 6 Jul 2012 09:11:56 +0000
- In-reply-to: <32B125A8-65E4-4455-B854-6CAE75E29A38@enseeiht.fr>
- References: <1341236500.2183.49.camel@iti27.informatik.htw-dresden.de> <47C0712F-E281-48EB-991E-263D6EADC271@enseeiht.fr> <1341564914.2095.2.camel@iti27.informatik.htw-dresden.de>, <32B125A8-65E4-4455-B854-6CAE75E29A38@enseeiht.fr>
Do you have a particular reason to use the Carbon release? I usually try to stick to the newer releases (Nitrogen, and hopefully soon Oxygen). Jens Von meinem iPad gesendet Am 06.07.2012 um 11:03 schrieb "Arnaud Dieumegard" <arnaud.dieumegard at enseeiht.fr>: > Hi, thanks for the quick reply. > > I added: > requires \forall unsigned char n,m; 0 <= n < 2 && 0 <= m < 2 ==> \valid(&b.val[n]+m); > > but it does not changes anything on unsigned char or unsigned int. > > Arnaud > > On Jul 6, 2012, at 10:55 AM, Boris Hollas wrote: > >> On Fri, 2012-07-06 at 10:37 +0200, Arnaud Dieumegard wrote: >>> typedef struct{ >>> double val[2][2]; >>> }t_struct; >>> >>> t_struct b; >>> >>> /*@ requires \valid(&b.val); >> >> Here, you only specify that val[0][0] is valid. See the ACSL doc on how >> to specify ranges. >> -- >> Best regards, >> Boris >> >> >> _______________________________________________ >> 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 > > Cordialement, > > Arnaud Dieumegard > PhD Student > IRIT-ENSEEIHT / ACADIE > 2 rue Charles CAMICHEL BP 7122 > 31071 TOULOUSE cedex 07 > arnaud.dieumegard at enseeiht.fr > Tel: 05.34.32.21.64 > > > > > > > _______________________________________________ > 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
- Follow-Ups:
- [Frama-c-discuss] WP - Verifiable annotations with some types but not others
- From: arnaud.dieumegard at enseeiht.fr (Arnaud Dieumegard)
- [Frama-c-discuss] WP - Verifiable annotations with some types but not others
- References:
- [Frama-c-discuss] Predicates fully supported in WP?
- From: hollas at informatik.htw-dresden.de (Boris Hollas)
- [Frama-c-discuss] WP - Verifiable annotations with some types but not others
- From: arnaud.dieumegard at enseeiht.fr (Arnaud Dieumegard)
- [Frama-c-discuss] WP - Verifiable annotations with some types but not others
- From: hollas at informatik.htw-dresden.de (Boris Hollas)
- [Frama-c-discuss] WP - Verifiable annotations with some types but not others
- From: arnaud.dieumegard at enseeiht.fr (Arnaud Dieumegard)
- [Frama-c-discuss] Predicates fully supported in WP?
- Prev by Date: [Frama-c-discuss] WP - Verifiable annotations with some types but not others
- Next by Date: [Frama-c-discuss] WP - Verifiable annotations with some types but not others
- Previous by thread: [Frama-c-discuss] WP - Verifiable annotations with some types but not others
- Next by thread: [Frama-c-discuss] WP - Verifiable annotations with some types but not others
- Index(es):