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] Verifications of calls to unannotated functions
- Subject: [Frama-c-discuss] Verifications of calls to unannotated functions
- From: Patrick.Baudin at cea.fr (BAUDIN Patrick)
- Date: Mon, 01 Feb 2010 15:18:24 +0100
- In-reply-to: <FC0686BB6178BC43B9DC035287A11A720DEDF3E36A@SI-MBX12.de.bosch.com>
- References: <FC0686BB6178BC43B9DC035287A11A720DEDF3E36A@SI-MBX12.de.bosch.com>
Hollas Boris (CR/AEY1) wrote: > Consider a function that calls another function: > > Void f1(...) { > ... > K = f2(...); // (*) > ... > } > > I assume that if f2 has a contract (ie, pre- and postcondition as given by the user), this contract will be used by the verifier at the place of the function call. That is, the prover shows that > - the postcondition of f2 implies the wp derived so far > - the precondition of f2 is the new precondition for line (*). > > What happens if f2 isn't annotated? Will the call to f2 just be ignored by the verifier? > Please, look at the document "ACSL: ANSI/ISO C Specification Language", section 2.3.5 about "default contracts". Patrick Baudin.
- Follow-Ups:
- [Frama-c-discuss] Verifications of calls to unannotated functions
- From: virgile.prevosto at cea.fr (Virgile Prevosto)
- [Frama-c-discuss] Verifications of calls to unannotated functions
- References:
- [Frama-c-discuss] Verifications of calls to unannotated functions
- From: Boris.Hollas at de.bosch.com (Hollas Boris (CR/AEY1))
- [Frama-c-discuss] Verifications of calls to unannotated functions
- Prev by Date: [Frama-c-discuss] Arithmetics in finite fields
- Next by Date: [Frama-c-discuss] Question regarding frama-c/jessie
- Previous by thread: [Frama-c-discuss] Verifications of calls to unannotated functions
- Next by thread: [Frama-c-discuss] Verifications of calls to unannotated functions
- Index(es):