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] Plugin development: Modifying a contract
- Subject: [Frama-c-discuss] Plugin development: Modifying a contract
- From: hollas at informatik.htw-dresden.de (Boris Hollas)
- Date: Wed, 15 Feb 2012 07:28:03 +0100
- In-reply-to: <4F38C898.2070407@cea.fr>
- References: <1328861154.2084.103.camel@iti27.informatik.htw-dresden.de> <4F38C898.2070407@cea.fr>
On Mon, 2012-02-13 at 09:23 +0100, Julien Signoles wrote: > With Frama-C Nitrogen, Kernel_function.set_spec is what you need. Are function contracts -- in contrast to assertions -- not queued? Also, with respect to what Virgile wrote, I guess I must apply set_spec to the new kf of the copy visitor. As set_spec expects a function of type fundec -> fundec, I may write a function that constructs a fundec by copying some fields and replacing others. May I assume that spec_behavior is either empty or contains at least the default behavior? -- Best regards, Boris
- Follow-Ups:
- [Frama-c-discuss] Plugin development: Modifying a contract
- From: Julien.Signoles at cea.fr (Julien Signoles)
- [Frama-c-discuss] Plugin development: Modifying a contract
- References:
- [Frama-c-discuss] Plugin development: Modifying a contract
- From: hollas at informatik.htw-dresden.de (Boris Hollas)
- [Frama-c-discuss] Plugin development: Modifying a contract
- From: Julien.Signoles at cea.fr (Julien Signoles)
- [Frama-c-discuss] Plugin development: Modifying a contract
- Prev by Date: [Frama-c-discuss] Support of (shift) operations?
- Next by Date: [Frama-c-discuss] Using results of one plugin in another plugin
- Previous by thread: [Frama-c-discuss] Plugin development: Modifying a contract
- Next by thread: [Frama-c-discuss] Plugin development: Modifying a contract
- Index(es):