package binsec

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Tag : sig ... end
type t = private {
  1. id : int;
  2. name : string;
  3. size : size;
  4. info : Tag.t;
}
val create : string -> bitsize:Size.Bit.t -> tag:Tag.t -> t
val flag : ?bitsize:Size.Bit.t -> string -> t

flag ~size fname creates a flag variable.

  • size defaults to 1
val temporary : string -> Size.Bit.t -> t
val temp : Size.Bit.t -> t

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

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

from_id id returns the variable identified by id.

  • raises Not_found

    if id is not a valid identifier.

OCaml

Innovation. Community. Security.