State.Sval open_session : unit -> topen_session () creates a new incremental solver instance.
val put : t -> Binsec.Formula.entry -> unitput solver entry sends the entry to the solver.
val check_sat : t -> Binsec.Formula.statuscheck_sat solver checks if the current formula is satisfiable.
val get_bv_value : t -> Binsec.Formula.bv_term -> Binsec.Bitvector.tget_bv_value solver expr returns the assignment of the expression expr if check_sat returned SAT. Invalid uses may fail in an unpredictable fashion.
val get_ax_values :
t ->
Binsec.Formula.ax_term ->
(Binsec.Bitvector.t * Binsec.Bitvector.t) arrayget_ax_values solver expr returns the assignment of the array expr if check_sat returned SAT. Invalid uses may fail in an unpredictable fashion.
val close_session : t -> unitclose_session solver will destroy the solver instance and release its ressources. Calling any function on this instance afterward is invalid and may fail in an unpredictable fashion.
val check_sat_and_close : t -> Binsec.Formula.statuscheck_sat_and_close solver is the same as caching the result of check_sat before calling close_session.