package bap-std

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type perm =
  1. | R
  2. | W
  3. | X
  4. | Or of perm * perm

memory access permissions

include sig ... end
val perm_of_sexp : Sexplib.Sexp.t -> perm
val sexp_of_perm : perm -> Sexplib.Sexp.t
val compare_perm : perm -> perm -> int
val bin_perm : perm Core_kernel.Std.Bin_prot.Type_class.t
val bin_read_perm : perm Core_kernel.Std.Bin_prot.Read.reader
val __bin_read_perm__ : (int -> perm) Core_kernel.Std.Bin_prot.Read.reader
val bin_reader_perm : perm Core_kernel.Std.Bin_prot.Type_class.reader
val bin_size_perm : perm Core_kernel.Std.Bin_prot.Size.sizer
val bin_write_perm : perm Core_kernel.Std.Bin_prot.Write.writer
val bin_writer_perm : perm Core_kernel.Std.Bin_prot.Type_class.writer
module Segment : sig ... end

A named contiguous part of file with permissions. Also, known as segment in ELF.

module Symbol : sig ... end

Symbol definition, that can span several non-contiguous parts of memory

module Section : sig ... end

Just a named region of memory.

module Img : sig ... end

A Img from a backend perspective.

type t = Core_kernel.Std.Bigstring.t -> Img.t option

the actual interface to be implemented

OCaml

Innovation. Community. Security.