Module PdgIndex.Key

module Key: sig .. end
The keys can be used to identify an element of a function. Have a look at the type t to know which kind of elements can be identified.

type key = 
| SigKey of PdgIndex.Signature.key (*input/output nodes of the functionkey for an element of the function signature*)
| VarDecl of Cil_types.varinfo (*local, parameter or global variable definitionvariable declaration*)
| Stmt of Cil_types.stmt (*simple statement (not call) excluding its label (stmt.id)any statement, except a call*)
| CallStmt of Cil_types.stmt (*call statementcall statement*)
| Label of Cil_types.stmt * Cil_types.label (*Labels are considered as function elements by themselves.program label*)
| SigCallKey of Cil_types.stmt * PdgIndex.Signature.key (*Key for an element of a call (input or output). The call is identified by the statement.key for an element of a call signature*)
val entry_point : key
val top_input : key
val param_key : int -> key
val implicit_in_key : Locations.Zone.t -> key
val output_key : key
val out_from_key : Locations.Zone.t -> key
this is for the nodes inside undefined functions
val decl_var_key : Cil_types.varinfo -> key
val label_key : Cil_types.stmt -> Cil_types.label -> key
val call_key : Cil_types.stmt -> key
val stmt_key : Cil_types.stmt -> key
val call_input_key : Cil_types.stmt -> int -> key
val call_outret_key : Cil_types.stmt -> key
val call_output_key : Cil_types.stmt -> Locations.Zone.t -> key
val call_ctrl_key : Cil_types.stmt -> key
val call_topin_key : Cil_types.stmt -> key
val call_from_id : 'a -> 'a
val stmt : key -> Cil_types.stmt option
val pretty_node : Format.formatter -> key -> unit
include struct ... end