package binsec

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

A DBA instruction is uniquely located at an address + label/id

Such a location is named "code address" (or Caddress)

type t = Dba.address
include Sigs.Collection with type t := t
include Sigs.COMPARABLE with type t := t
module Map : sig ... end
module Set : sig ... end
module Hamt : Hashamt.S with type key = t
module Htbl : sig ... end
val default_init : t ref
val create : Virtual_address.t -> int -> t
val block_start : Virtual_address.t -> t

block_start bv i create bv 0

val block_start_of_int : int -> t
val rebase : t -> Virtual_address.t -> t
val reid : t -> int -> t
val equal : t -> t -> bool
val pp_base : Format.formatter -> t -> unit

pp_base caddr only print the base address of the DBA code address as hexadecimal, thus ignoring the id part

val add_int : t -> int -> t

add_int addr n Increment the current address from the value of n

val add_id : t -> int -> t
val base_value : t -> Virtual_address.t
val of_virtual_address : Virtual_address.t -> t
val to_virtual_address : t -> Virtual_address.t
include Sigs.COMPARABLE with type t := t
val compare : t -> t -> int