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] RE : [Jessie] Issue with behavior in contracts
- Subject: [Frama-c-discuss] RE : [Jessie] Issue with behavior in contracts
- From: virgile.prevosto at cea.fr (PREVOSTO Virgile)
- Date: Wed, 4 Mar 2009 12:43:57 +0100
- References: <3d13dcfc0903030830m26d0d328n1ac6057eed4a1ff8@mail.gmail.com> <3d13dcfc0903040242g6ed73581g2a4789408a2d27b9@mail.gmail.com>
Hello, You're right. The message is issued for each prototype, regardless of whether it has an associated contract with assigns clause for each behavior or not, but no assigns clause is generated where the user has already provided one. Best regards, -- Virgile Prevosto Ing?nieur-Chercheur CEA, LIST, Laboratoire des logiciels s?rs -------- Message d'origine-------- De: frama-c-discuss-bounces at lists.gforge.inria.fr de la part de David MENTRE Date: mer. 04/03/2009 11:42 ?: Frama-C public discussion Objet : Re: [Frama-c-discuss] [Jessie] Issue with behavior in contracts Hello, On Tue, Mar 3, 2009 at 17:30, David MENTRE <dmentre at linux-france.org> wrote: > I would like to define the behaviour of read() syscall. I'm using the > following contract: > /*@ requires fd >= 0; > ? ?requires count > 0; > ? ?requires \valid((char*)buf+(0..count-1)); > ? ?behavior error: > ? ? ?assigns global_error_number; > ? ? ?ensures \result < 0; > ?*/ > However, when I run frama-c -jessie-analysis, I have the following > error message: > ?No code for function read, default assigns generated > > Is my contract for read() really taken into account? In that case, is > it a spurious error message? So I would say the message "No code for function read, default assigns generated" is spurious or erroneous. Yours, 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 -------------- section suivante -------------- Une pi?ce jointe non texte a ?t? nettoy?e... Nom: non disponible Type: application/ms-tnef Taille: 3685 octets Desc: non disponible Url: http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20090304/c42ffb0a/attachment.bin
- References:
- [Frama-c-discuss] [Jessie] Issue with behavior in contracts
- From: dmentre at linux-france.org (David MENTRE)
- [Frama-c-discuss] [Jessie] Issue with behavior in contracts
- From: dmentre at linux-france.org (David MENTRE)
- [Frama-c-discuss] [Jessie] Issue with behavior in contracts
- Prev by Date: [Frama-c-discuss] [Jessie] Issue with behavior in contracts
- Next by Date: [Frama-c-discuss] [Jessie] Issue with behavior in contracts
- Previous by thread: [Frama-c-discuss] [Jessie] Issue with behavior in contracts
- Next by thread: [Frama-c-discuss] [Jessie] Issue with behavior in contracts
- Index(es):