package frama-c
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Platform dedicated to the analysis of source code written in C
Install
dune-project
Dependency
Authors
-
MMichele Alberti
-
TThibaud Antignac
-
GGergö Barany
-
PPatrick Baudin
-
TThibaut Benjamin
-
AAllan Blanchard
-
LLionel Blatter
-
FFrançois Bobot
-
RRichard Bonichon
-
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
-
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
-
AAnne Pacalet
-
VValentin Perrelle
-
GGuillaume Petiot
-
DDario Pinto
-
VVirgile Prevosto
-
AArmand Puccetti
-
FFélix Ridoux
-
VVirgile Robles
-
MMuriel Roger
-
JJulien Signoles
-
NNicolas Stouls
-
KKostyantyn Vorobyov
-
BBoris Yakobowski
Maintainers
Sources
frama-c-27.0-beta-Cobalt.tar.gz
sha256=9c1b14a689ac8ccda9e827c2eede13bb8d781fb8e4e33c1b5360408e312127d2
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.packPacked version of the descriptor.
val reprs : t listList of representants of the descriptor.
val hash : t -> intHash function: same spec than Hashtbl.hash.
val pretty : Format.formatter -> t -> unitPretty print each value in an user-friendly way.
val mem_project : (Project_skeleton.t -> bool) -> t -> boolmem_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 = tmodule Map : Datatype.Map with type key = tmodule Hashtbl : Datatype.Hashtbl with type key = tmodule type Local = sig ... endOperations 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 -> stringName of a state.
val set_name : t -> string -> unitSet the name of the given state.
val get_unique_name : t -> stringUnique name of a state.
val dummy : tA dummy state.
val is_dummy : t -> boolval get : string -> tval get_descr : t -> Structural_descr.packval add_hook_on_update : t -> (unit -> unit) -> unitAdd 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_diskval private_ops : t -> private_opsState 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 ->
tval delete : t -> unit sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page