Module Db_types


module Db_types: sig .. end
Type definitions for Db module. Each plugin may add its additional types.
Consult the Plugin Development Guide for additional details.

type from_model = Lmap_bitwise.From_Model.t 

type cil_function =
| Definition of (Cil_types.fundec * Cil_types.location) (*defined function*)
| Declaration of (Cil_types.funspec * Cil_types.varinfo * Cil_types.varinfo list option *
Cil_types.location)
(*Declaration(spec,f,args,loc) represents a leaf function f with specification spec and arguments args, at location loc. As with the TFun constructor of Cil_types.typ, the arg list is optional, to distinguish void f() (None) from void f(void) (Some []).*)
Internal representation of decorated C functions

type rooted_code_annotation =
| User of Cil_types.code_annotation
| AI of Alarms.t * Cil_types.code_annotation

type 'a before_after =
| Before of 'a
| After of 'a
type stmts_graph = Graph.Imperative.Digraph.Concrete(Cilutil.StmtComparable).t 

type kernel_function = {
   fundec : cil_function;
   mutable return_stmt : Cil_types.stmt option;
   mutable spec : Cil_types.funspec;
   mutable stmts_graph : stmts_graph option;
}
Except field fundec, do not used the other fields directly. Prefer to use Kernel_function.find_return, Kernel_function.get_spec and Stmts_graph.stmt_can_reach.
Consult the Plugin Development Guide for additional details.

type localisation =
| VGlobal
| VLocal of kernel_function
| VFormal of kernel_function