package binsec

  1. Overview
  2. Docs

doc/binsec_kernel_dba/Binsec_kernel_dba/Dba/Var/index.html

Module Dba.VarSource

Sourcemodule Tag : sig ... end
Sourcetype t = private {
  1. id : int;
  2. name : string;
  3. size : size;
  4. info : Tag.t;
}
Sourceval create : string -> bitsize:Binsec_base.Size.Bit.t -> tag:Tag.t -> t
Sourceval flag : ?bitsize:Binsec_base.Size.Bit.t -> string -> t

flag ~size fname creates a flag variable.

  • size defaults to 1
Sourceval temporary : string -> Binsec_base.Size.Bit.t -> t

temp n creates a lvalue representing a temporary of size n with name Format.sprintf "temp%d" n.

Sourceval compare : t -> t -> int
include Stdlib.Hashtbl.HashedType with type t := t
Sourceval equal : t -> t -> bool
Sourceval hash : t -> int
Sourceval from_id : int -> t

from_id id returns the variable identified by id.

  • raises Not_found

    if id is not a valid identifier.