Module type Relations_type.Model_S


module type Model_S = sig .. end


Datatypes


type t 
type widen_hint = Cvalue_type.Model.widen_hint 
type cluster 
module Datatype: Project.Datatype.S  with type t = t

...


val rehash : t -> t
val is_reachable : t -> bool
val pretty : Format.formatter -> t -> unit
val pretty_without_null : Format.formatter -> t -> unit
val pretty_filter : Format.formatter -> t -> Locations.Zone.t -> unit
val join : t ->
t -> t
val find : with_alarms:CilE.warn_mode ->
t -> Locations.location -> Locations.Location_Bytes.t
val find_unspecified : with_alarms:CilE.warn_mode ->
t ->
Locations.location -> Cvalue_type.V_Or_Uninitialized.t
val add_binding : with_alarms:CilE.warn_mode ->
exact:bool ->
t ->
Locations.location -> Locations.Location_Bytes.t -> t
val add_binding_unspecified : t -> Locations.location -> t
val reduce_binding : t ->
Locations.location -> Locations.Location_Bytes.t -> t
val is_included : t -> t -> bool
val equal : t -> t -> bool
val is_included_actual_generic : Locations.Zone.t ->
t ->
t -> Locations.Location_Bytes.t BaseUtils.BaseMap.t
val widen : widen_hint ->
t ->
t -> bool * t
val bottom : t
val inject : Cvalue_type.Model.t -> t
val empty : t
val value_state : t -> Cvalue_type.Model.t
val drop_relations : t -> t
val filter_base : (Base.t -> bool) -> t -> t
val clear_state_from_locals : Cil_types.fundec -> t -> t
val uninitialize_locals : Cil_types.block list -> t -> t
val compute_actual_final_from_generic : t ->
t ->
Locations.Zone.t ->
Cvalue_type.Model.instanciation ->
t * Locations.Location_Bits.Top_Param.t
val is_included_by_location_enum : t ->
t -> Locations.Zone.t -> bool
val find_mem : Locations.location ->
Int_Base.t -> Ival.t -> t -> Cvalue_type.V.t
computes the value of *location
val add_mem : Locations.location ->
Int_Base.t ->
Ival.t ->
t ->
Cvalue_type.V.t ->
cluster list * t
add an information about the value of *location
val propagate_change_from_real_to_virt : protected_clusters:cluster list ->
Locations.location ->
t -> Cvalue_type.V.t -> t
clean up relation about location (call this function each time location has changed)
val add_equality : ?offset:Ival.t ->
t ->
Locations.location -> Locations.location -> t
val reduce_equality : t ->
Locations.location -> Locations.location -> t
val compute_diff : t ->
Locations.location -> Locations.location -> Cvalue_type.V.t
val shift_location : t ->
Locations.location -> Ival.t -> Cvalue_type.V.t -> t
val find_base : Base.t -> t -> Cvalue_type.V_Offsetmap.t
Raises Not_found when the vid is not in the map
val create_initial : base:Base.t ->
v:Cvalue_type.V.t ->
modu:Abstract_interp.Int.t ->
state:t -> t
Overwrites base in state with an initialized offsetmap filled with repetitions of the value v of size modu.

Copy / paste


val paste_offsetmap : Cvalue_type.V_Offsetmap.t ->
Locations.Location_Bits.t ->
Abstract_interp.Int.t ->
Abstract_interp.Int.t -> t -> t
Raises Lmap.Cannot_copy when copying is not possible.
val copy_paste : Locations.location ->
Locations.location -> t -> t
Raises Lmap.Cannot_copy when copying is not possible.
val copy_from_virtual : Locations.location ->
Ival.t ->
Abstract_interp.Int.t ->
t -> Cvalue_type.V_Offsetmap.t
Raises Lmap.Cannot_copy when copying is not possible.
val copy_offsetmap : Locations.location ->
t -> Cvalue_type.V_Offsetmap.t option
Raises Lmap.Cannot_copy when copying is not possible.