Goblint_lib.AccessMemory accesses and their manipulation.
module M = Messagesval is_ignorable_type_offset : GoblintCil.typ -> 'a Offset.t -> boolis_ignorable_type for typsig.
val is_ignorable_typsig_offset : GoblintCil.typsig -> 'a Offset.t -> boolis_ignorable_type_offset for typsig.
val is_ignorable_mval : (GoblintCil.varinfo * 'a Offset.t) -> boolval is_ignorable_memo :
([< `Type of GoblintCil.typsig | `Var of GoblintCil.varinfo ] * 'a Offset.t) ->
boolmodule TSH : sig ... endval typeVar : GoblintCil.varinfo TSH.tval typeIncl : GoblintCil.fieldinfo TSH.tOld access type inferred from an expression.
val hash_acc_typ : acc_typ -> intmodule MemoRoot : sig ... endmodule Memo : sig ... endMemory location of an access.
val get_type : GoblintCil.typ Stdlib.Lazy.t -> GoblintCil.exp -> acc_typval get_val_type : GoblintCil.exp -> acc_typval add_one :
side:
(([< `Type of GoblintCil.typsig | `Var of CilType.Varinfo.t ] as 'a
* Offset.Unit.t) ->
unit) ->
('a * Offset.Unit.t) ->
unitAdd access to Memo after distributing.
val add_distribute_outer :
side:
(([ `Type of GoblintCil.typsig | `Var of CilType.Varinfo.t ]
* Offset.Unit.t) ->
unit) ->
side_empty:
(([ `Type of GoblintCil.typsig | `Var of CilType.Varinfo.t ]
* Offset.Unit.t) ->
unit) ->
GoblintCil.typsig ->
Offset.Unit.t ->
unitDistribute empty access set for type-based access to variables and containing fields. Empty access sets are needed for prefix-type_suffix race checking.
val add :
side:
(([ `Type of GoblintCil.typsig | `Var of CilType.Varinfo.t ]
* Offset.Unit.t) ->
unit) ->
side_empty:
(([ `Type of GoblintCil.typsig | `Var of CilType.Varinfo.t ]
* Offset.Unit.t) ->
unit) ->
CilType.Exp.t ->
(CilType.Varinfo.t * CilType.Offset.t) option ->
unitAdd access to known variable with offsets or unknown variable from expression.
Distribute to AddrOf of all read lvals in subexpressions.
module A : sig ... endmodule AS : sig ... endmodule WarnAccs : sig ... endAccess sets for race detection and warnings.
val group_may_race : WarnAccs.t -> AS.t listval race_conf : AS.t -> int optionval incr_summary :
safe:int Stdlib.ref ->
vulnerable:int Stdlib.ref ->
unsafe:int Stdlib.ref ->
AS.t list ->
unitval print_accesses :
([< `Type of GoblintCil.typsig & 'a | `Var of CilType.Varinfo.t ]
* Offset.Unit.t) ->
AS.t list ->
unitval warn_global :
safe:int Stdlib.ref ->
vulnerable:int Stdlib.ref ->
unsafe:int Stdlib.ref ->
WarnAccs.t ->
([< `Type of GoblintCil.typsig & 'a | `Var of CilType.Varinfo.t ]
* Offset.Unit.t) ->
unit