package frama-c
Install
Dune 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
-
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
sha256=0220bc743b7da2468ceb926f331edc7ddfaa7c603ba47962de3e33c8e1e3f593
doc/frama-c.kernel/Frama_c_kernel/Globals/index.html
Module Frama_c_kernel.Globals
Operations on globals.
module Vars : sig ... end
Globals variables. The AST should be computed before using this module (cf. Ast.compute
).
module Functions : sig ... end
Functions. The AST should be computed before using this module (cf. Ast.compute
).
module FileIndex : sig ... end
Globals associated to filename.
module Syntactic_search : sig ... end
Types
module Types : sig ... end
Types, or type-related information.
Entry point
val entry_point : unit -> Cil_types.kernel_function * bool
set_entry_point name lib
sets Kernel.MainFunction
to name
and Kernel.LibEntry
to lib
. Moreover, clear the results of all the analysis which depend on Kernel.MainFunction
or Kernel.LibEntry
.
Comments
val get_comments_global : Cil_types.global -> string list
Gets a list of comments associated to the given global. This function is useful only when -keep-comments is on.
A comment is associated to a global if it occurs after the declaration/definition of the preceding one in the file, before the end of the current declaration/definition and does not occur in the definition of a function. Note that this function is experimental and may fail to associate comments properly. Use directly Cabshelper.Comments.get
to retrieve comments in a given region. (see Globals.get_comments_stmt
for retrieving comments associated to a statement).
val get_comments_stmt : Cil_types.stmt -> string list
Gets a list of comments associated to the given statement. This function is useful only when -keep-comments is on.
A comment is associated to a statement if it occurs after the preceding statement and before the current statement ends (except for the last statement in a block, to which statements occurring before the end of the block are associated). Note that this function is experimental and may fail to associate comments properly. Use directly Cabshelper.Comments.get
to retrieve comments in a given region.
val get_statics : (Cil_types.kernel_function -> Cil_types.varinfo list) ref
val find_first_stmt : (Cil_types.kernel_function -> Cil_types.stmt) ref
val find_enclosing_block : (Cil_types.stmt -> Cil_types.block) ref
val find_all_enclosing_blocks : (Cil_types.stmt -> Cil_types.block list) ref
val find_englobing_kf : (Cil_types.stmt -> Cil_types.kernel_function) ref