Attribute manipulation in Propositions (i.e., Symbolic Heaps)
val add : InferIR.Tenv.t ‑> ?footprint:bool ‑> ?polarity:bool ‑> Prop.normal Prop.t ‑> InferIR.PredSymb.t ‑> InferIR.Exp.t list ‑> Prop.normal Prop.tAdd an attribute associated to the argument expressions
val add_or_replace : InferIR.Tenv.t ‑> Prop.normal Prop.t ‑> InferIR.Sil.atom ‑> Prop.normal Prop.tReplace an attribute associated to the expression
val add_or_replace_check_changed : InferIR.Tenv.t ‑> (InferIR.PredSymb.t ‑> InferIR.PredSymb.t ‑> unit) ‑> Prop.normal Prop.t ‑> InferIR.Sil.atom ‑> Prop.normal Prop.tReplace an attribute associated to the expression, and call the given function with new and old attributes if they changed.
val get_for_exp : InferIR.Tenv.t ‑> 'a Prop.t ‑> InferIR.Exp.t ‑> InferIR.Sil.atom listGet the attributes associated to the expression, if any
val get_objc_null : InferIR.Tenv.t ‑> 'a Prop.t ‑> InferIR.Exp.t ‑> InferIR.Sil.atom optionGet the objc null attribute associated to the expression, if any
val get_observer : InferIR.Tenv.t ‑> 'a Prop.t ‑> InferIR.Exp.t ‑> InferIR.Sil.atom optionGet the observer attribute associated to the expression, if any
val get_resource : InferIR.Tenv.t ‑> 'a Prop.t ‑> InferIR.Exp.t ‑> InferIR.Sil.atom optionGet the resource attribute associated to the expression, if any
val get_undef : InferIR.Tenv.t ‑> 'a Prop.t ‑> InferIR.Exp.t ‑> InferIR.Sil.atom optionGet the undef attribute associated to the expression, if any
val get_wontleak : InferIR.Tenv.t ‑> 'a Prop.t ‑> InferIR.Exp.t ‑> InferIR.Sil.atom optionGet the wontleak attribute associated to the expression, if any
val has_dangling_uninit : InferIR.Tenv.t ‑> 'a Prop.t ‑> InferIR.Exp.t ‑> boolTest for existence of an Adangling DAuninit attribute associated to the exp
val remove : InferIR.Tenv.t ‑> Prop.normal Prop.t ‑> InferIR.Sil.atom ‑> Prop.normal Prop.tRemove an attribute
val remove_for_attr : InferIR.Tenv.t ‑> Prop.normal Prop.t ‑> InferIR.PredSymb.t ‑> Prop.normal Prop.tRemove all attributes for the given attr
val remove_resource : InferIR.Tenv.t ‑> InferIR.PredSymb.res_act_kind ‑> InferIR.PredSymb.resource ‑> Prop.normal Prop.t ‑> Prop.normal Prop.tRemove all attributes for the given resource and kind
val map_resource : InferIR.Tenv.t ‑> Prop.normal Prop.t ‑> (InferIR.Exp.t ‑> InferIR.PredSymb.res_action ‑> InferIR.PredSymb.res_action) ‑> Prop.normal Prop.tApply f to every resource attribute in the prop
val replace_objc_null : InferIR.Tenv.t ‑> Prop.normal Prop.t ‑> InferIR.Exp.t ‑> InferIR.Exp.t ‑> Prop.normal Prop.treplace_objc_null lhs rhs.
If rhs has the objc_null attribute, replace the attribute and set the lhs = 0
val nullify_exp_with_objc_null : InferIR.Tenv.t ‑> Prop.normal Prop.t ‑> InferIR.Exp.t ‑> Prop.normal Prop.tFor each Var subexp of the argument with an Aobjc_null attribute, remove the attribute and conjoin an equality to zero.
val mark_vars_as_undefined : InferIR.Tenv.t ‑> Prop.normal Prop.t ‑> ret_exp:InferIR.Exp.t ‑> undefined_actuals_by_ref:InferIR.Exp.t list ‑> InferIR.Typ.Procname.t ‑> InferIR.Annot.Item.t ‑> InferBase.Location.t ‑> InferIR.PredSymb.path_pos ‑> Prop.normal Prop.tmark Exp.Var's or Exp.Lvar's as undefined
val find_arithmetic_problem : InferIR.Tenv.t ‑> InferIR.PredSymb.path_pos ‑> Prop.normal Prop.t ‑> InferIR.Exp.t ‑> arith_problem option * Prop.normal Prop.tLook for an arithmetic problem in exp
val deallocate_stack_vars : InferIR.Tenv.t ‑> Prop.normal Prop.t ‑> InferIR.Pvar.t list ‑> InferIR.Pvar.t list * Prop.normal Prop.tDeallocate the stack variables in pvars, and replace them by normal variables.
Return the list of stack variables whose address was still present after deallocation.
val find_equal_formal_path : InferIR.Tenv.t ‑> InferIR.Exp.t ‑> 'a Prop.t ‑> InferIR.Exp.t option