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] Frama-C Carbon and spec_requires.
- Subject: [Frama-c-discuss] Frama-C Carbon and spec_requires.
- From: virgile.prevosto at cea.fr (Virgile Prevosto)
- Date: Wed, 16 Feb 2011 11:11:01 +0100
- In-reply-to: <4D5B9DBC.7020600@inria.fr>
- References: <4D5B9DBC.7020600@inria.fr>
Hello Kalyan, Le mer. 16 f?vr. 2011 10:49:48 CET, Kalyan <kalyan.krishnamani at inria.fr> a ?crit : > ... (Kernel_function.get_spec kf).spec_requires > > /which no longer seems to work with the Carbon version as I do not see > spec_requires. May I know the alternative? > Requires are now part of behaviors (field b_requires of the behavior record type), as in ACSL manual . Clauses that are part of a simple contract (i.e. not in a named behavior) are in fact placed in a special behavior. You can retrieve the requires corresponding to this specific behavior with the function Cil.find_default_requires (and the whole default behavior with Cil.find_default_behavior). Best regards, -- Virgile Prevosto Ing?nieur-Chercheur, CEA, LIST Laboratoire de S?ret? des Logiciels +33/0 1 69 08 82 98
- References:
- [Frama-c-discuss] Frama-C Carbon and spec_requires.
- From: kalyan.krishnamani at inria.fr (Kalyan)
- [Frama-c-discuss] Frama-C Carbon and spec_requires.
- Prev by Date: [Frama-c-discuss] Frama-C Carbon and spec_requires.
- Next by Date: [Frama-c-discuss] Problem with predicate and location labels
- Previous by thread: [Frama-c-discuss] Frama-C Carbon and spec_requires.
- Next by thread: [Frama-c-discuss] Problem with predicate and location labels
- Index(es):