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, 20 Nov 2013 09:36:54 +0100
- In-reply-to: <BAY169-W7661BE1D3397DC1253A94F97E60@phx.gbl>
- References: <BAY169-W28E188485299A5957EB70997F90@phx.gbl> <52872F3D.8020604@inria.fr> <52873059.4060103@inria.fr> <BAY169-W7661BE1D3397DC1253A94F97E60@phx.gbl>
Hello Xiao-lei, 2013/11/20 Xiao-lei Cui <x_cui at hotmail.com>: > And for contracts for each function, I have only seen examples that shows > how to embed them along with the function body. are you suggesting put the > contract along with the function prototype in some header file(.h), rather > than put them in the .c file? Yes. If the same function f() is called several times, by putting the contract in the .h file you can use the same contract for both calls to f() (to prove other contracts) and for proving that f() indeed fulfils its contract. Do not forget that Frama-C only sees contracts. When you have a function f(), Frama-C only sees the contract of f(), not the body of f()[1]. If at a call point you have no contract for function f(), Frama-C/Jessie cannot do much. Best regards, david [1] This is a bit misleading. With Frama-C/Value, Value analysis do use the body of f() if this body is available. But for Jessie, my simplification is true.
- Follow-Ups:
- [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
- 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
- Prev by Date: [Frama-c-discuss] why3IDE interactive proof session popup
- Next by Date: [Frama-c-discuss] error in importing real@Abs into PVS file
- Previous by thread: [Frama-c-discuss] why3IDE interactive proof session popup
- Next by thread: [Frama-c-discuss] why3IDE interactive proof session popup
- Index(es):