package binsec

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val initializations : t -> int Binsec.Bitvector.Collection.Map.t
val create : unit -> t
val assign : ?wild:bool -> string -> Binsec.Formula.sort -> Binsec.Formula.term -> t -> t
val havoc : ?wild:bool -> string -> Binsec.Formula.sort -> t -> t

assign variable with a fresh symbolic value

val declare : ?wild:bool -> string -> Binsec.Formula.sort -> t -> t

if wild is set, then the variable is appended to uncontroled

val constrain : Binsec.Formula.bl_term -> t -> t

constrain c s adds constraint c to state s

val comment : string -> t -> t

comment cmt s

val formula : t -> Binsec.Formula.formula
val get_memory : t -> Binsec.Formula.ax_term
val get_path_constraint : t -> Binsec.Formula.bl_term
val get_bv : string -> Binsec.Size.Bit.t -> t -> Binsec.Formula.bv_term * t

automatically declares missing variables, thus returns t

val init_mem_at : addr:Binsec.Bitvector.t -> size:int -> t -> t
val uncontrolled : t -> Binsec.Formula.VarSet.t
val pp : Format.formatter -> t -> unit