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] why3IDE interactive proof session popup
- Subject: [Frama-c-discuss] why3IDE interactive proof session popup
- From: dmentre at linux-france.org (David MENTRE)
- Date: Wed, 27 Nov 2013 09:23:39 +0100
- In-reply-to: <BAY169-W239A5F0CA7763EFED0DB4D97EF0@phx.gbl>
- References: <BAY169-W28E188485299A5957EB70997F90@phx.gbl> <52872F3D.8020604@inria.fr> <52873059.4060103@inria.fr> <BAY169-W7661BE1D3397DC1253A94F97E60@phx.gbl> <CAC3Lx=YiUJvzHNxgMtT3TcWaxbP+3LLLx-R62zVRDRgvs0aeLw@mail.gmail.com> <BAY169-W239A5F0CA7763EFED0DB4D97EF0@phx.gbl>
Hi Xiao-lei, 2013/11/27 Xiao-lei Cui <x_cui at hotmail.com>: > extern void g(void); > extern int h(void); > > int f(void){ > //@ asserts pre-condition-of (g) ? > g(); > //@ asserts post-condition-of (g) ? > return (h()); /*how to specify the return value here?*/ > } > I see no other way than using a temporary variable: int res_tmp; [...] res_tmp = h(); //@ assert something on res_tmp; return res_tmp; Best regards, david
- References:
- [Frama-c-discuss] why3IDE interactive proof session popup
- From: x_cui at hotmail.com (Xiao-lei Cui)
- [Frama-c-discuss] why3IDE interactive proof session popup
- From: Claude.Marche at inria.fr (Claude Marche)
- [Frama-c-discuss] why3IDE interactive proof session popup
- From: Claude.Marche at inria.fr (Claude Marche)
- [Frama-c-discuss] why3IDE interactive proof session popup
- From: x_cui at hotmail.com (Xiao-lei Cui)
- [Frama-c-discuss] why3IDE interactive proof session popup
- From: dmentre at linux-france.org (David MENTRE)
- [Frama-c-discuss] why3IDE interactive proof session popup
- From: x_cui at hotmail.com (Xiao-lei Cui)
- [Frama-c-discuss] why3IDE interactive proof session popup
- Prev by Date: [Frama-c-discuss] why3IDE interactive proof session popup
- Next by Date: [Frama-c-discuss] Information hiding: how to handle module's private static variables in Frama-C?
- Previous by thread: [Frama-c-discuss] why3IDE interactive proof session popup
- Next by thread: [Frama-c-discuss] why3IDE Gtk-critical error
- Index(es):