Module Absint.HilInstr
type call=|Direct of IR.Procname.t|Indirect of HilExp.ttype of a procedure call; either direct or via function pointer
type t=|Assign of HilExp.AccessExpression.t * HilExp.t * IBase.Location.tLHS access expression, RHS expression
|Assume of HilExp.t * [ `Then | `Else ] * IR.Sil.if_kind * IBase.Location.tAssumed expression, true_branch boolean, source of the assume (conditional, ternary, etc.)
|Call of AccessPath.base * call * HilExp.t list * IR.CallFlags.t * IBase.Location.tVar to hold the return, call expression, formals
|Metadata of IR.Sil.instr_metadatasee
Sil.instr_metadata
type translation=|Instr of tHIL instruction to execute
|Bind of IR.Var.t * HilExp.AccessExpression.tadd binding to identifier map
Result of translating an SIL instruction
val of_sil : include_array_indexes:bool -> f_resolve_id:(IR.Var.t -> HilExp.AccessExpression.t option) -> IR.Sil.instr -> translationconvert an SIL instruction into an HIL instruction. The
f_resolve_idfunction should map an SSA temporary variable to the access path it represents. Evaluating the HIL instruction should produce the same result as evaluating the SIL instruction and replacing the temporary variables usingf_resolve_id.