Module Igot
Intermediate GOT (Global Offset Table) for the dissector.
The intermediate GOT provides local GOT entries that are within range of PC-relative addressing from the code in a partition. Each entry holds the absolute address of an external symbol, filled in by an R_X86_64_64 relocation at final link time.
module Entry : sig ... endAn entry in the intermediate GOT.
val build : prefix:string -> symbols:string list -> Igot.tbuild ~prefix symbols builds an intermediate GOT from a list of symbols that need GOT entries.
val entries : Igot.t -> Igot.Entry.t listReturns the list of entries in the IGOT.
val section_data : Igot.t -> bytesReturns the section data (zero-initialized).
val section_size : Igot.t -> intReturns the size of the section in bytes.
val find_entry : Igot.t -> symbol:string -> Igot.Entry.t optionfind_entry t ~symbol returns the entry for symbol, or None if not found.
igot_symbol_name ~prefix ~symbol returns the IGOT symbol name for the given original symbol.
module Relocation : sig ... endA relocation for an IGOT entry.
val relocations : Igot.t -> Igot.Relocation.t listrelocations t returns the list of R_X86_64_64 relocations needed to fill the IGOT entries with the addresses of the original symbols.