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] Assign clauses with ghost variables
- Subject: [Frama-c-discuss] Assign clauses with ghost variables
- From: dmentre at linux-france.org (David MENTRE)
- Date: Thu, 28 May 2015 09:52:12 +0200
- In-reply-to: <alpine.LNX.2.03.1505280924340.1421@dordowsky.de>
- References: <mailman.23.1432720812.15570.frama-c-discuss@lists.gforge.inria.fr> <alpine.LNX.2.03.1505280924340.1421@dordowsky.de>
Hello, Le 28/05/2015 09:28, Frank Dordowsky a ?crit : > 3. definition of function in the source file modifies variable of file > scope not listed in the assigns clause because not visible in the > header. > > What is the best way to handle this situation with assigns clauses? Has > it been discussed somewhere else (pointer welcome) In my humble opinion, there is lack of abstraction of Frama-C in such situations. You need to mention every modified variable in contracts, even those that you would like to be hidden. For example, I see no way to use static variables (variable local to a file, but if used should be mentioned in contract therefore seen from outside!). Best regards, david
- Follow-Ups:
- [Frama-c-discuss] Assign clauses with ghost variables
- From: virgile.prevosto at m4x.org (Virgile Prevosto)
- [Frama-c-discuss] Assign clauses with ghost variables
- References:
- [Frama-c-discuss] Assign clauses with ghost variables
- From: frank at dordowsky.de (Frank Dordowsky)
- [Frama-c-discuss] Assign clauses with ghost variables
- Prev by Date: [Frama-c-discuss] Assign clauses with ghost variables
- Next by Date: [Frama-c-discuss] Assign clauses with ghost variables
- Previous by thread: [Frama-c-discuss] Assign clauses with ghost variables
- Next by thread: [Frama-c-discuss] Assign clauses with ghost variables
- Index(es):