Module Absint__AnalysisState

type t
val get_instr : unit -> IR.Sil.instr option

Get last instruction seen in symbolic execution

val get_loc_exn : unit -> IBase.Location.t

Get last location seen in symbolic execution

val get_loc : unit -> IBase.Location.t option

Get last location seen in symbolic execution

val get_node_exn : unit -> IR.Procdesc.Node.t

Get last node seen in symbolic execution

val get_node : unit -> IR.Procdesc.Node.t option

Get last node seen in symbolic execution

val get_session : unit -> int

Get last session seen in symbolic execution

val set_instr : IR.Sil.instr -> unit

Set last instruction seen in symbolic execution

val set_node : IR.Procdesc.Node.t -> unit

Set last node seen in symbolic execution

val set_session : int -> unit

Set last session seen in symbolic execution

State management

val restore : t -> unit

Restore the old state.

val save : unit -> t

Return the old state, and revert the current state to the initial one.