package frama-c
Platform dedicated to the analysis of source code written in 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
-
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
-
JJulien Signoles
-
NNicolas Stouls
-
KKostyantyn Vorobyov
-
BBoris Yakobowski
Maintainers
Sources
frama-c-29.0-Copper.tar.gz
sha256=d2fbb3b8d0ff83945872e9e6fa258e934a706360e698dae3b4d5f971addf7493
doc/frama-c.kernel/Frama_c_kernel/State/index.html
Module Frama_c_kernel.State
A state is a project-compliant mutable value.
Type declarations
include Datatype.S_with_collections
include Datatype.S
include Datatype.S_no_copy
val packed_descr : Structural_descr.pack
Packed version of the descriptor.
val reprs : t list
List of representants of the descriptor.
val hash : t -> int
Hash function: same spec than Hashtbl.hash
.
val pretty : Format.formatter -> t -> unit
Pretty print each value in an user-friendly way.
val mem_project : (Project_skeleton.t -> bool) -> t -> bool
mem_project f x
must return true
iff there is a value p
of type Project.t
in x
such that f p
returns true
.
module Set : Datatype.Set with type elt = t
module Map : Datatype.Map with type key = t
module Hashtbl : Datatype.Hashtbl with type key = t
module type Local = sig ... end
Operations on the local state required for registering a new state via State_builder.Register
. The local state is the mutable value which you would like to be project-compliant.
Getters and setters
val get_name : t -> string
Name of a state.
val set_name : t -> string -> unit
Set the name of the given state.
val get_unique_name : t -> string
Unique name of a state.
val dummy : t
A dummy state.
val is_dummy : t -> bool
val get : string -> t
val get_descr : t -> Structural_descr.pack
val add_hook_on_update : t -> (unit -> unit) -> unit
Add an hook which is applied each time the project library changes the local value of the state.
Internals
All this stuff should not be used outside of the Project library.
type private_ops = private {
descr : Structural_descr.pack;
create : Project_skeleton.project -> unit;
remove : Project_skeleton.project -> unit;
clear : Project_skeleton.project -> unit;
clear_some_projects : (Project_skeleton.project -> bool) -> Project_skeleton.project -> bool;
copy : Project_skeleton.project -> Project_skeleton.project -> unit;
commit : Project_skeleton.project -> unit;
update : Project_skeleton.project -> unit;
on_update : (unit -> unit) -> unit;
clean : unit -> unit;
serialize : Project_skeleton.project -> state_on_disk;
unserialize : Project_skeleton.project -> state_on_disk -> unit;
(**)
}
val dummy_state_on_disk : state_on_disk
val private_ops : t -> private_ops
State generators
val create :
descr:Structural_descr.pack ->
create:(Project_skeleton.project -> unit) ->
remove:(Project_skeleton.project -> unit) ->
clear:(Project_skeleton.project -> unit) ->
clear_some_projects:
((Project_skeleton.project -> bool) -> Project_skeleton.project -> bool) ->
copy:(Project_skeleton.project -> Project_skeleton.project -> unit) ->
commit:(Project_skeleton.project -> unit) ->
update:(Project_skeleton.project -> unit) ->
on_update:((unit -> unit) -> unit) ->
clean:(unit -> unit) ->
serialize:(Project_skeleton.project -> state_on_disk) ->
unserialize:(Project_skeleton.project -> state_on_disk -> unit) ->
unique_name:string ->
name:string ->
t
val delete : t -> unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page