package binsec

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Smt_symbolic.StateSource

Sourcetype t
Sourceval initializations : t -> int Binsec.Bitvector.Collection.Map.t
Sourceval create : unit -> t
Sourceval assign : ?wild:bool -> string -> Binsec.Formula.sort -> Binsec.Formula.term -> t -> t
Sourceval havoc : ?wild:bool -> string -> Binsec.Formula.sort -> t -> t

assign variable with a fresh symbolic value

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

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

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

constrain c s adds constraint c to state s

Sourceval comment : string -> t -> t

comment cmt s

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

automatically declares missing variables, thus returns t

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

Innovation. Community. Security.