package binsec

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

Definition of DBA type

type size = int
type id = int

An id is a local identifier which characterizes an atomic instruction inside a Dba.block

type address = {
  1. base : Virtual_address.t;
  2. id : id;
}

A DBA address is the association of a DBA block address represented by base and a unique id. The first element of a block has id 0.

type addresses = address list
type 'a jump_target =
  1. | JInner of 'a
    (*

    Jump inside the same block, to a label

    *)
  2. | JOuter of address
    (*

    Jump outside the block to its first element

    *)
type tag =
  1. | Default
  2. | Call of address
  3. | Return
    (*

    For call address of return site

    *)
type state =
  1. | OK
  2. | KO
  3. | Undecoded of string
    (*

    Stop because of unanticipated string of bytes *

    *)
  4. | Unsupported of string
    (*

    Stop because instr is not supported by Binsec *

    *)
module Unary_op : sig ... end
module Binary_op : sig ... end
module Var : sig ... end
module Expr : sig ... end
type exprs = Expr.t list
type printable =
  1. | Exp of Expr.t
  2. | Str of string
module LValue : sig ... end
module Tag : sig ... end
module Jump_target : sig ... end
module Instr : sig ... end
OCaml

Innovation. Community. Security.