Module BO__AbsLoc.Loc
type prim= private|Var of IR.Var.t|Allocsite of Allocsite.t
type t= prim BO.BufferOverrunField.t
include IStdlib.PrettyPrintable.PrintableOrderedType with type PrintableOrderedType.t := t
include IStdlib.PrettyPrintable.PrintableType with type t := t
val pp : IStdlib.PrettyPrintable.F.formatter -> t -> unit
val of_allocsite : Allocsite.t -> tval of_c_strlen : t -> tIt appends the
strlenfield.
val of_id : IR.Ident.t -> tval of_path : BO.Symb.SymbolPath.partial -> tval of_pvar : IR.Pvar.t -> tval of_var : IR.Var.t -> tval unknown : tval exists_pvar : f:(IR.Pvar.t -> bool) -> t -> boolIt checks if a pvar in location satisfies
f.
val exists_str : f:(string -> bool) -> t -> boolIt checks if a variable or a field name in the location path satisfies
f.
val get_literal_string : t -> string optionval get_literal_string_strlen : t -> string optionval get_path : t -> BO.Symb.SymbolPath.partial optionval is_field_of : loc:t -> field_loc:t -> boolIt checks if
locis prefix offield_loc.
val is_frontend_tmp : t -> boolval is_global : t -> boolval get_global_array_initializer : t -> IR.Procname.t optionReturn the name of global initializer when given abstract location represents a global constant array value
val is_pretty : t -> boolIt checks if it is representable with pretty form, e.g., with a path or with a variable name.