module Functions:sig
..end
Ast.compute
).val self : State.t
val get : Cil_types.varinfo -> Cil_types.kernel_function
Not_found
if the given varinfo has no associated kernel function
and is not a built-in.val get_params : Cil_types.kernel_function -> Cil_types.varinfo list
val get_vi : Cil_types.kernel_function -> Cil_types.varinfo
val find_by_name : string -> Cil_types.kernel_function
Not_found
if there is no function of this name.val find_def_by_name : string -> Cil_types.kernel_function
Not_found
if there is no function definition of this name.val iter : (Cil_types.kernel_function -> unit) -> unit
val fold : (Cil_types.kernel_function -> 'a -> 'a) -> 'a -> 'a
val iter_on_fundecs : (Cil_types.fundec -> unit) -> unit
Functions of this section should not be called by casual users.
val add : Cil_types.cil_function -> unit
val replace_by_declaration : Cil_types.funspec -> Cil_types.varinfo -> Cil_types.location -> unit
val replace_by_definition : Cil_types.funspec -> Cil_types.fundec -> Cil_types.location -> unit
val register : Cil_types.kernel_function -> unit