Frama-C API - Frama_c_kernel_base
module Abstract_interp : sig ... endFunctors for generic lattices implementations.
module Acsl_extension : sig ... endACSL extensions registration module
module Addresses : sig ... endRepresent a set of addresses by associating bases with offsets.
module Alarms : sig ... endAlarms Database.
module Allocates : sig ... endGeneration of default allocates \nothing clauses.
module Alpha : sig ... endAlpha conversion.
module Annotations : sig ... endAnnotations in the AST. The AST should be computed before calling functions of this module.
module Asm_contracts : sig ... endCode transformation for inferring contracts from information given in GNU's extended assembly syntax. Registered as a transformation occurring after annotations table are filled.
module Ast : sig ... endAccess to the CIL AST which must be used from Frama-C.
module Ast_attributes : sig ... endThis file contains attribute related types/functions/values.
module Ast_diff : sig ... endCompute diff information from an existing project.
module Ast_info : sig ... endAST manipulation utilities.
module Ast_types : sig ... endThis file contains types related types/functions/values.
module Base : sig ... endAbstraction of the base of an addressable memory zone, together with the validity of the zone.
module Bit_utils : sig ... endSome bit manipulations.
module Boot : sig ... endmodule Builder : sig ... endmodule Cabs : sig ... endUntyped AST.
module Cabs2cil : sig ... endmodule Cabs_debug : sig ... endmodule Cabshelper : sig ... endHelper functions for Cabs
module Cabsvisit : sig ... endmodule Cfg : sig ... endCode to compute the control-flow graph of a function or file. This will fill in the preds and succs fields of Cil_types.stmt
module Cil : sig ... endCIL main API.
module Cil_builder : sig ... endThis module is meant to build C or ACSL expressions in a unified way. Compared to "classic" Cil functions it also avoids the necessity to provide a location everywhere.
module Cil_builtins : sig ... endmodule Cil_const : sig ... endmodule Cil_datatype : sig ... endDatatypes of some useful CIL types.
module Cil_descriptive_printer : sig ... endInternal printer for Cabs2cil.
module Cil_printer : sig ... endInternal Cil printer.
module Cil_state_builder : sig ... endFunctors for building computations which use kernel datatypes.
module Cil_types : sig ... endThe Abstract Syntax of CIL.
module Cil_types_debug : sig ... endmodule Classify : sig ... endmodule Clexer : sig ... endThe C Lexer.
module Clone : sig ... endExperimental module
module Cmdline : sig ... endCommand line parsing.
module Config_data : sig ... endmodule Contract_special_float : sig ... endmodule Cparser : sig ... endmodule Cprint : sig ... endmodule Current_loc : sig ... endmodule Cvalue : sig ... endRepresentation of Value's abstract memory.
module Dataflow2 : sig ... endImplementation of data flow analyses over user-supplied domains.
module Dataflows : sig ... endImplementation of data flow analyses over user-supplied domains.
module Demote_string_literal : sig ... endmodule Description : sig ... endDescribe items of Source and Properties.
module Destructors : sig ... endretrieve local variables with __fc_destructor attribute and add the appropriate calls to the corresponding destructor function when we exit the scope of the variable.
module Dominators : sig ... endModule to perform dominators and postdominators analyses. This module was completely redesigned and provides many new functions.
module Dump_config : sig ... endmodule Dynamic : sig ... endValue accesses through dynamic typing.
module Dyncall : sig ... endmodule Emitter : sig ... endEmitter. An emitter is the Frama-C entity which is able to emit annotations and property status. Thus you have to create (at least) one of your own if you want to do such tasks.
module Environment : sig ... endmodule Errorloc : sig ... endThe module stores the current file,line, and working directory in a hidden internal state, modified by the three following functions.
module Eva_lattice_type : sig ... endLattice signatures using the Bottom type: these lattices do not include a bottom element, and return `Bottom instead when needed. Except that, they are identical to the module signatures in Lattice_type.
module Exn_flow : sig ... endManages information related to possible exceptions thrown by each function in the AST.
module Extends : sig ... endmodule Fc_float : sig ... endImplementation of floating-point values of different precision, using the standard ocaml floating-point numbers in double precision. Long_Double and Real are inexact.
module File : sig ... endFrama-c preprocessing and Cil AST initialization.
module Filecheck : sig ... endThis file performs various consistency checks over a cil file. Code may vary depending on current development of the kernel and/or identified bugs.
module Filter : sig ... endFilter helps to build a new cilfile from an old one by removing some of its elements. One can even build several functions from a source function by specifying different names for each of them.
module Float_interval : sig ... endmodule Float_interval_sig : sig ... endSignature for the floating-point interval semantics.
module Float_sig : sig ... endInterface of floating-point numbers of different precisions.
module Format_parser : sig ... endmodule Format_pprint : sig ... endmodule Format_string : sig ... endmodule Format_typer : sig ... endmodule Format_types : sig ... endSee C11, 7.21.6
module Frontc : sig ... endmodule Fval : sig ... endFloating-point intervals, used to construct arithmetic lattices. The interfaces of this module may change between Frama-C versions. Contact us if you need stable APIs.
module Generic : sig ... endmodule Ghost_accesses : sig ... endmodule Ghost_cfg : sig ... endmodule Globals : sig ... endOperations on globals.
module Infer_assigns : sig ... endGeneration of possible assigns from the C prototype of a function.
module Inline : sig ... endmodule Inline_stmt_contracts : sig ... endtransforms requires and ensures of statement contracts into assert. This transformation is done after cleanup
module Inout_type : sig ... endmodule Int_Base : sig ... endmodule Int_Intervals : sig ... endSets of intervals with a lattice structure. Consecutive intervals are automatically fused.
module Int_Intervals_sig : sig ... endSets of intervals with a lattice structure. Consecutive intervals are automatically fused.
module Int_interval : sig ... endInteger intervals with congruence. An interval defined by min, max, rem, modu represents all integers between the bounds min and max and congruent to rem modulo modu. A value of None for min (resp. max) represents -infinity (resp. +infinity). modu is > 0, and 0 <= rem < modu.
module Int_set : sig ... endSmall sets of integers.
module Int_val : sig ... endInteger values abstractions: an abstraction represents a set of integers. Provided with a lattice structure and over-approximations of arithmetic operations.
module Interpreted_automata : sig ... endAn interpreted automaton is a convenient formalization of programs for abstract interpretation. It is a control flow graph where states are control point and edges are transitions. It keeps track of conditions on which a transition can be taken (guards) as well as actions which are computed when a transition is taken. It can then be interpreted w.r.t. the operational semantics to reproduce the behavior of the program or w.r.t. to the collection semantics to compute a set of reachable states.
module Ival : sig ... endArithmetic lattices. The interfaces of this module may change between Frama-C versions. Contact us if you need stable APIs.
module Json_compilation_database : sig ... endmodule Kernel : sig ... endProvided services for kernel developers.
module Kernel_function : sig ... endOperations to get info from a kernel function. This module does not give access to information about the set of all the registered kernel functions (like iterators over kernel functions). This kind of operations is stored in module Globals.Functions.
module Kernel_log : sig ... endThis modules creates Kernel Logs manually instead of using the one created via the Plugin modules. It is required for Cmdline which cannot depend on Plugin. It also includes all Kernel debug and warning keys. Unless you cannot depend on Frama-C's kernel, always prefer using Kernel instead of Kernel_log.
module Lattice_bounds : sig ... endTypes, monads and utility functions for lattices in which the bottom and/or the top are managed separately from other values.
module Lattice_type : sig ... endLattice signatures.
module Lexerhack : sig ... endmodule Lmap : sig ... endMaps from bases to memory maps. The memory maps are those of the Offsetmap module.
module Lmap_bitwise : sig ... endFunctors making map indexed by zone.
module Lmap_sig : sig ... endSignature for maps from bases to memory maps. The memory maps are intended to be those of the Offsetmap module.
module Locations : sig ... endMemory locations.
module Logic_builtin : sig ... endmodule Logic_const : sig ... endSmart constructors for logic annotations.
module Logic_deps : sig ... endmodule Logic_env : sig ... endmodule Logic_lexer : sig ... endLexer for logic annotations
module Logic_parse_string : sig ... endmodule Logic_parser : sig ... endmodule Logic_preprocess : sig ... endadds another preprocessing step in order to expand macros in annotations.
module Logic_print : sig ... endPretty-printing of a parsed logic tree.
module Logic_ptree : sig ... endmodule Logic_subst : sig ... endSubstitution of formals in terms and predicates. These operations are intended for replacing formal parameters by actual ones in terms or predicates occurring in a C function pre-conditions at call site.
module Logic_to_c : sig ... endmodule Logic_typing : sig ... endLogic typing and logic environment.
module Logic_utils : sig ... endUtilities for ACSL constructs.
module Loop : sig ... endOperations on (natural) loops.
module Machdep : sig ... endManaging machine-dependent information.
module Machine : sig ... endThis module handle the machine configuration. Previous Frama-C versions handled this in Cil.
module Macos_dirs : sig ... endmodule Map_lattice : sig ... endMaps equipped with a lattice structure.
module Memory_zone : sig ... endAssociation between bases and ranges of bits.
module Mergecil : sig ... endmodule Messages : sig ... endStored messages for persistence between sessions.
module Mopsa_database : sig ... endmodule Offsetmap : sig ... endMaps from intervals to values.
module Offsetmap_bitwise_sig : sig ... endSignature for Offsetmap_bitwise module, that implement efficient maps from intervals to values.
module Offsetmap_lattice_with_isotropy : sig ... endType of the arguments of functor Offsetmap.Make
module Offsetmap_sig : sig ... endSignature for Offsetmap module, that implement efficient maps from intervals to arbitrary values.
module Oneret : sig ... endmodule Ordered_stmt : sig ... endmodule Origin : sig ... endThis module is used to track the origin of very imprecise values (namely "garbled mix", created on imprecise or unsupported operations on addresses) propagated by an Eva analysis.
module Parameter_builder : sig ... endFunctors for implementing new command line options.
module Parameter_category : sig ... endCategory for parameter collections. A category groups together a set of possible values of a given type for some parameters. It may be created once and used several times.
module Parameter_customize : sig ... endConfiguration of command line options.
module Parameter_sig : sig ... endSignatures for command line options.
module Parameter_state : sig ... endmodule Parse_env : sig ... endmodule Plugin : sig ... endPlugin registration and general services.
module Populate_spec : sig ... endThis module is used to generate missing specifications. Options Kernel.GeneratedDefaultSpec, Kernel.GeneratedSpecMode and Kernel.GeneratedSpecCustom can be used to choose precisely which clause to generate in which case.
module Precise_locs : sig ... endThis module provides transient datastructures that may be more precise than an Ival.t, Addresses.Bits.t and Locations.t respectively, typically for l-values such as t[i][j], p->t[i], etc. Those structures do not have a lattice structure, and cannot be stored as an abstract domain. However, they can be use to model more precisely read or write accesses to semi-imprecise l-values.
module Printer : sig ... endAST's pretty-printer.
module Printer_api : sig ... endType of AST's extensible printers.
module Printer_builder : sig ... endBuild a dynamic printer that bind all pretty-printers to the object obtained by (P())
module Property : sig ... endACSL comparable property.
module Property_status : sig ... endStatus of properties.
module Replacements : sig ... endmodule Rmtmps : sig ... endmodule Service_graph : sig ... endCompute services from a callgraph.
module Special_hooks : sig ... endNothing is exported: just register some special hooks for Frama-C.
module Standard : sig ... endmodule Statuses_by_call : sig ... endStatuses of preconditions specialized at a given call-point.
module Stmts_graph : sig ... endStatements graph.
module Substitute_const_globals : sig ... endmodule System_config : sig ... endInformation about the environment
module Temp_files : sig ... endThis module provides a layer above the Filesystem module to handle automatic removal of temporary files when the program exits, except when exit is caused by a signal or keep is given and set to true. If keep is omitted, the files are kept only if the kernel option -keep-temp-files is set. If the file is kept, a message with the path of the preserved file or directory is emitted. When the temporary file or directory cannot be created, these functions abort.
module Tr_offset : sig ... endReduction of a location (expressed as an Ival.t and a size) by a base validity. Only the locations in the trimmed result are valid. All offsets are expressed in bits.
module Translate : sig ... endmodule Translate_lightweight : sig ... endAnnotate files interpreting lightweight annotations.
module Typed_parameter : sig ... endParameter settable through a command line option. This is a low level API, internally used by the kernel. As a plug-in developer, you certainly prefer to use the API of Plugin instead.
module Undefined_sequence : sig ... endmodule Unfold_loops : sig ... endSyntactic loop unfolding. Uses code transformation hook mechanism (after-cleanup phase) of File and exports nothing.
module Unix_dirs : sig ... endmodule Va_types : sig ... endmodule Variadic : sig ... endNothing is exported.
module Visitor : sig ... endFrama-C visitors dealing with projects.
module Visitor_behavior : sig ... endOperations on visitor behaviors.
module Widen_type : sig ... endWidening hints for the Value Analysis datastructures.
module Win_dirs : sig ... endmodule Wto_statement : sig ... endSpecialization of WTO for the CIL statement graph. See the Wto module for more details
module Z_or_top : sig ... endZ integers with an additional top element.
