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-e-acsl.core/E_ACSL/Logic_functions/index.html
Module E_ACSL.Logic_functions
Generate C implementations of user-defined logic functions. A logic function can have multiple C implementations depending on the types computed for its arguments. Eg: Consider the following definition: integer g(integer x) = x
with the following calls: g(5)
and g(10*INT_MAX)
They will respectively generate the C prototypes int g_1(int)
and long g_2(long)
val app_to_exp :
adata:Assert.t ->
loc:Frama_c_kernel.Cil_types.location ->
?tapp:Frama_c_kernel.Cil_types.term ->
Frama_c_kernel.Cil_types.kernel_function ->
Env.t ->
?eargs:Frama_c_kernel.Cil_types.exp list ->
Frama_c_kernel.Cil_types.logic_info ->
Frama_c_kernel.Cil_types.term list ->
Frama_c_kernel.Cil_types.exp * Assert.t * Env.t
Translate a Tapp term or a Papp predicate to an expression. If the optional argument eargs
is provided, then these expressions are used as arguments of the fonction. The optional argument tapp
is the term corresponding to the call, in case we are translating a term
val add_generated_functions_to_file : Frama_c_kernel.Cil_types.file -> unit
Insert into the globals of the given file the generated kernel functions (their declaration and their definition). Also registers these functions using Globals.Functions.register
.
val predicate_to_exp_ref :
(adata:Assert.t ->
Frama_c_kernel.Cil_types.kernel_function ->
Env.t ->
Frama_c_kernel.Cil_types.predicate ->
Frama_c_kernel.Cil_types.exp * Assert.t * Env.t)
Stdlib.ref
val term_to_exp_ref :
(adata:Assert.t ->
Frama_c_kernel.Cil_types.kernel_function ->
Env.t ->
Frama_c_kernel.Cil_types.term ->
Frama_c_kernel.Cil_types.exp * Assert.t * Env.t)
Stdlib.ref