module Defs:sig..end
Interface for the Scope plugin.
val get_defs : Kernel_function.t ->
Cil_types.stmt ->
Cil_types.lval ->
(Cil_datatype.Stmt.Hptset.t * Locations.Zone.t option) optionlval before stmt in kf.
Also returns the zone that is possibly not defined.
Can return None when the information is not available (Pdg missing).val get_defs_with_type : Kernel_function.t ->
Cil_types.stmt ->
Cil_types.lval ->
((bool * bool) Cil_datatype.Stmt.Map.t * Locations.Zone.t option) optionlval before stmt in
kf. The first boolean indicates the possibility of a direct
modification at this statement, ie. lval = ... or lval = f().
The second boolean indicates a possible indirect modification through
a call.
Also returns the zone that is possibly not defined.
Can return None when the information is not available (Pdg missing).