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
-
SSylvain Chiron
-
LLoïc Correnson
-
JJulien Crétin
-
PPascal Cuoq
-
ZZaynah Dargaye
-
BBasile Desloges
-
JJean-Christophe Filliâtre
-
PPhilippe Herrmann
-
MMaxime Jacquemin
-
BBenjamin Jorge
-
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=a94384f00d53791cbb4b4d83ab41607bc71962d42461f02d71116c4ff6dca567
doc/frama-c-e-acsl.core/E_ACSL/Translation_error/index.html
Module E_ACSL.Translation_error
include Error.S
type 'a result = ('a, exn) Frama_c_kernel.Result.t
Represent either a result of type 'a
or an error with an exception.
exception Typing_error of Frama_c_kernel.Cil_datatype.Location.t
* Options.category option
* string
Typing error where the first element is the phase where the error occured and the second element is the error message.
exception Not_yet of Frama_c_kernel.Cil_datatype.Location.t
* Options.category option
* string
"Not yet supported" error where the first element is the phase where the error occured and the second element is the error message.
exception Not_memoized of Frama_c_kernel.Cil_datatype.Location.t
* Options.category option
"Not memoized" error with the phase where the error occured.
val make_untypable :
?loc:Frama_c_kernel.Cil_datatype.Location.t ->
string ->
exn
Make a Typing_error
exception with the given message.
val make_not_yet : ?loc:Frama_c_kernel.Cil_datatype.Location.t -> string -> exn
Make a Not_yet
exception with the given message.
val make_not_memoized :
?loc:Frama_c_kernel.Cil_datatype.Location.t ->
unit ->
exn
Make a Not_memoized
exception with the given message.
val untypable : ?loc:Frama_c_kernel.Cil_datatype.Location.t -> string -> 'a
val not_yet : ?loc:Frama_c_kernel.Cil_datatype.Location.t -> string -> 'a
val not_memoized : ?loc:Frama_c_kernel.Cil_datatype.Location.t -> unit -> 'a
Print the "not yet supported" message without raising an exception.
Run the closure with the given argument and handle potential errors. Return the provide argument in case of errors.
Run the closure with the given argument and handle potential errors. Return the additional argument in case of errors.
val retrieve_preprocessing :
string ->
('a -> 'b result) ->
'a ->
(Stdlib.Format.formatter -> 'a -> unit) ->
'b
Retrieve the result of a preprocessing phase, which possibly failed. The string
argument and the formatter are used to display a message in case the preprocessing phase did not compute the required result.
val pp_result :
(Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a result ->
unit
pp_result pp
where pp
is a formatter for 'a
returns a formatter for 'a result
.
val map : ('a -> 'b) -> 'a result -> 'b