package owee

  1. Overview
  2. Docs
type t = private {
  1. section : Owee_elf.section;
  2. entries : Owee_rel_entry.t array;
}
val read_rela : type_:[ `Plt | `Dyn ] -> Owee_buf.t -> Owee_elf.section array -> t option

read_rela ~type_ buf sections returns the list of relocations stored in the .rela section of the specified type. Returns None if there are no relocations.

val read_rel : type_:[ `Plt | `Dyn ] -> Owee_buf.t -> Owee_elf.section array -> t option

read_rel ~type_ buf sections returns the list of relocations stored in the .rel section of the specified type. Returns None if there are no relocations.

OCaml

Innovation. Community. Security.