package frama-c
Install
Dune Dependency
Authors
-
MMichele Alberti
-
TThibaud Antignac
-
GGergö Barany
-
PPatrick Baudin
-
NNicolas Bellec
-
TThibaut Benjamin
-
AAllan Blanchard
-
LLionel Blatter
-
FFrançois Bobot
-
RRichard Bonichon
-
VVincent Botbol
-
QQuentin Bouillaguet
-
DDavid Bühler
-
ZZakaria Chihani
-
LLoïc Correnson
-
JJulien Crétin
-
PPascal Cuoq
-
ZZaynah Dargaye
-
BBasile Desloges
-
JJean-Christophe Filliâtre
-
PPhilippe Herrmann
-
MMaxime Jacquemin
-
FFlorent Kirchner
-
AAlexander Kogtenkov
-
RRemi Lazarini
-
TTristan Le Gall
-
KKilyan Le Gallic
-
JJean-Christophe Léchenet
-
MMatthieu Lemerre
-
DDara Ly
-
DDavid Maison
-
CClaude Marché
-
AAndré Maroneze
-
TThibault Martin
-
FFonenantsoa Maurica
-
MMelody Méaulle
-
BBenjamin Monate
-
YYannick Moy
-
PPierre Nigron
-
AAnne Pacalet
-
VValentin Perrelle
-
GGuillaume Petiot
-
DDario Pinto
-
VVirgile Prevosto
-
AArmand Puccetti
-
FFélix Ridoux
-
VVirgile Robles
-
JJan Rochel
-
MMuriel Roger
-
CCécile Ruet-Cros
-
JJulien Signoles
-
NNicolas Stouls
-
KKostyantyn Vorobyov
-
BBoris Yakobowski
Maintainers
Sources
sha256=3ac0f995261ec829a7bd042bf70fc29ac6379029eb9df30bcc044748eb4d2a56
doc/frama-c.kernel/Frama_c_kernel/Statuses_by_call/index.html
Module Frama_c_kernel.Statuses_by_call
Statuses of preconditions specialized at a given call-point.
val setup_precondition_proxy : Cil_types.kernel_function -> Property.t -> unit
setup_precondition_proxy kf p
creates a new property for p
at each syntactic call site of kf
, representing the status of p
at this particular call. p
is considered proven if and only if all its instances are themselves proven.
val setup_all_preconditions_proxies : Cil_types.kernel_function -> unit
setup_all_preconditions_proxies kf
is equivalent to calling setup_precondition_proxy
on all the requires of kf
.
val precondition_at_call :
Cil_types.kernel_function ->
Property.t ->
Cil_types.stmt ->
Property.t
property_at_call kf p stmt
returns the property corresponding to the status of the precondition p
at the call stmt
. If stmt
is a call through a pointer, the property at this call is created automatically if needed. For direct calls, setup_precondition_proxy
must have been called before.
val all_call_preconditions_at :
warn_missing:bool ->
Cil_types.kernel_function ->
Cil_types.stmt ->
(Property.t * Property.t) list
all_call_preconditions_at create kf stmt
returns the copies of all the requires of kf
for the call statement at stmt
. The first property in the tuple is the require, the second the copy at the call point. If warn_missing
is true and a copy has not yet been created an error is raised.
val all_functions_with_preconditions :
Cil_types.stmt ->
Kernel_function.Hptset.t
Returns the set of functions that can be called at the given statement and for which a precondition has been specialized at this call. Those functions are registered when the function precondition_at_call
is called.
val replace_call_precondition :
Property.t ->
Cil_types.stmt ->
Property.t ->
unit
replace_for_call pre stmt pre_at_call
states that pre_at_call
is the property corresponding to the status of pre
at call stmt
. The previous property, if any, is removed. Beware that this may also remove some already proved statuses