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] State-based contracts in ACSL?


  • Subject: [Frama-c-discuss] State-based contracts in ACSL?
  • From: dmentre at linux-france.org (David MENTRE)
  • Date: Thu, 13 Feb 2014 11:18:15 +0100
  • In-reply-to: <B517F47C2F6D914AA8121201F9EBEE6701C766926AB8@Mail1.FCMD.local>
  • References: <B517F47C2F6D914AA8121201F9EBEE6701C766926AB8@Mail1.FCMD.local>

Hello,

Le 09/02/2014 06:19, Dharmalingam Ganesan a ?crit :
> Bool open(int id);
>
> Informally, f should return true for every new id otherwise returns false.

open(), not f().

How open() is implemented? I assume it looks at some global variables 
recording the current state. I would refer to this global state in 
open()'s contract.

Best regards,
david