Module Occurrence.Register

module Register: sig .. end

Interface for the occurrence plugin.


val self : State.t
val get_last_result : unit ->
((Cil_types.kernel_function option * Cil_types.kinstr * Cil_types.lval) list *
Cil_types.varinfo)
option
val get : Cil_types.varinfo ->
(Cil_types.kernel_function option * Cil_types.kinstr * Cil_types.lval) list

Return the occurrences of the given varinfo. An occurrence ki, lv is a left-value lv which uses the location of vi at the position ki.

val print_all : unit -> unit

Print all the occurrence of each variable declarations.