package bap-dwarf

  1. Overview
  2. Docs

Dwarf library This library gives an access to debugging information stored in a binary program.

module Section : sig ... end

File sections

module Tag : sig ... end

Debug Entry Tag

module Attr : sig ... end

Attribute

type lenspec =
  1. | Leb128
  2. | One
  3. | Two
  4. | Four
  5. | Eight
include sig ... end
val lenspec_of_sexp : Sexplib.Sexp.t -> lenspec
val sexp_of_lenspec : lenspec -> Sexplib.Sexp.t
val __bin_read_lenspec__ : (int -> lenspec) Core_kernel.Std.Bin_prot.Read.reader
val bin_shape_lenspec : Core_kernel.Std.Bin_prot.Shape.t
val compare_lenspec : lenspec -> lenspec -> int
module Form : sig ... end

Attribute form

type tag = Tag.t
include sig ... end
val tag_of_sexp : Sexplib.Sexp.t -> tag
val sexp_of_tag : tag -> Sexplib.Sexp.t
val __bin_read_tag__ : (int -> tag) Core_kernel.Std.Bin_prot.Read.reader
val compare_tag : tag -> tag -> int
type attr = Attr.t
include sig ... end
val attr_of_sexp : Sexplib.Sexp.t -> attr
val sexp_of_attr : attr -> Sexplib.Sexp.t
val __bin_read_attr__ : (int -> attr) Core_kernel.Std.Bin_prot.Read.reader
val compare_attr : attr -> attr -> int
type form = Form.t
include sig ... end
val form_of_sexp : Sexplib.Sexp.t -> form
val sexp_of_form : form -> Sexplib.Sexp.t
val __bin_read_form__ : (int -> form) Core_kernel.Std.Bin_prot.Read.reader
val compare_form : form -> form -> int
type section = Section.t
include sig ... end
val section_of_sexp : Sexplib.Sexp.t -> section
val sexp_of_section : section -> Sexplib.Sexp.t
val __bin_read_section__ : (int -> section) Core_kernel.Std.Bin_prot.Read.reader
val bin_shape_section : Core_kernel.Std.Bin_prot.Shape.t
val compare_section : section -> section -> int
type fn
include sig ... end
val __bin_read_fn__ : (int -> fn) Core_kernel.Std.Bin_prot.Read.reader
val compare_fn : fn -> fn -> int
val fn_of_sexp : Sexplib.Sexp.t -> fn
val sexp_of_fn : fn -> Sexplib.Sexp.t
module Fn : sig ... end

Function representation.

module Buffer : sig ... end

Buffer is a light abstraction over string and bigstring, that can allow one to share the same string for different sections without explicit copying.

module Data : sig ... end
module Fbi : sig ... end

Function boundary identification.

OCaml

Innovation. Community. Security.