package binsec

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

assign variable with a fresh symbolic value

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

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

val constrain : 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 -> Formula.formula
val memory_term : Formula.ax_term -> string * Formula.sort * Formula.term
val get_memory : t -> Formula.ax_term
val get_path_constraint : t -> Formula.bl_term
val get_bv : string -> Size.Bit.t -> t -> Formula.bv_term * t

automatically declares missing variables, thus returns t

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

Innovation. Community. Security.