Symbolic Operations and Failures: the units in which analysis work is measured
val check_wallclock_alarm : unit ‑> unit
if the wallclock alarm has expired, raise a timeout exception
val get_remaining_wallclock_time : unit ‑> float
Return the time remaining before the wallclock alarm expires
val save_state : keep_symop_total:bool ‑> t
Return the old state, and revert the current state to the initial one. If keep_symop_total is true, share the total counter.
val try_finally : f:(unit ‑> 'a) ‑> finally:(unit ‑> unit) ‑> 'a
try_finally ~f ~finally
executes f
and then finally
even if f
raises an exception.
Assuming that finally ()
terminates quickly Analysis_failure_exe
exceptions are handled correctly.
In particular, an exception raised by f ()
is delayed until finally ()
finishes, so finally ()
should
return reasonably quickly.
val pp_failure_kind : Format.formatter ‑> failure_kind ‑> unit
val failure_kind_to_string : failure_kind ‑> string