package binsec

  1. Overview
  2. Docs
On This Page
  1. Constructors
Legend:
Library
Module
Module type
Parameter
Class
Class type

Directives are general located goals that one would like to achieve during an * analysis

module Action : sig ... end
module Choice : sig ... end
module Count : sig ... end
type d = private
  1. | Reach of Count.t * Dba.Expr.t * Action.t list
  2. | Enumerate of int * Dba.Expr.t
  3. | Cut of Dba.Expr.t
  4. | Assume of Dba.Expr.t
  5. | Assert of Dba.Expr.t
  6. | Choice of Choice.t
type t
val check_and_decr : t -> t option
val directive : t -> d
val loc : t -> Dba.Expr.t
val addr : t -> Virtual_address.t
val pp : Stdlib.Format.formatter -> t -> unit

Constructors

val reach : ?n:int -> ?guard:Dba.Expr.t -> ?actions:Action.t list -> loc:Dba.Expr.t -> unit -> t
val reach_all : ?guard:Dba.Expr.t -> ?actions:Action.t list -> loc:Dba.Expr.t -> unit -> t
val enumerate : ?n:int -> Dba.Expr.t -> loc:Dba.Expr.t -> unit -> t
val enumerate_all : Dba.Expr.t -> loc:Dba.Expr.t -> unit -> t
val cut : ?guard:Dba.Expr.t -> loc:Dba.Expr.t -> unit -> t
val assume : Dba.Expr.t -> loc:Dba.Expr.t -> unit -> t
val dynamic_assert : Dba.Expr.t -> loc:Dba.Expr.t -> unit -> t
val choose : alternate:bool -> side:Choice.side -> d
val choose_alternative : ?alternate:bool -> loc:Dba.Expr.t -> unit -> t
val choose_consequent : ?alternate:bool -> loc:Dba.Expr.t -> unit -> t
val is_choice : t -> bool
val reloc : Dba.Expr.t -> t -> t
OCaml

Innovation. Community. Security.