Changeset View
Changeset View
Standalone View
Standalone View
contrib/elftoolchain/libelf/gelf.3
Show All 39 Lines | |||||
needing to the know the ELF class of the descriptor. | needing to the know the ELF class of the descriptor. | ||||
.Pp | .Pp | ||||
The GElf API may be used alongside the ELF API without restriction. | The GElf API may be used alongside the ELF API without restriction. | ||||
.Ss GElf Data Structures | .Ss GElf Data Structures | ||||
The GElf API defines the following class-independent data structures: | The GElf API defines the following class-independent data structures: | ||||
.Bl -tag -width GElf_Sxword | .Bl -tag -width GElf_Sxword | ||||
.It Vt GElf_Addr | .It Vt GElf_Addr | ||||
A representation of ELF addresses. | A representation of ELF addresses. | ||||
.It Vt GElf_Chdr | |||||
A class-independent representation of an ELF Compression Header. | |||||
.It Vt GElf_Dyn | .It Vt GElf_Dyn | ||||
A class-independent representation of ELF | A class-independent representation of ELF | ||||
.Sy .dynamic | .Sy .dynamic | ||||
section entries. | section entries. | ||||
.It Vt GElf_Ehdr | .It Vt GElf_Ehdr | ||||
A class-independent representation of an ELF Executable Header. | A class-independent representation of an ELF Executable Header. | ||||
.It Vt GElf_Half | .It Vt GElf_Half | ||||
An unsigned 16 bit quantity. | An unsigned 16 bit quantity. | ||||
▲ Show 20 Lines • Show All 83 Lines • ▼ Show 20 Lines | |||||
Translate the native representation of an ELF data structure to its | Translate the native representation of an ELF data structure to its | ||||
file representation. | file representation. | ||||
.It Fn gelf_xlatetom | .It Fn gelf_xlatetom | ||||
Translate from the file representation of an ELF data structure to a | Translate from the file representation of an ELF data structure to a | ||||
native representation. | native representation. | ||||
.El | .El | ||||
.It "Retrieving ELF Data" | .It "Retrieving ELF Data" | ||||
.Bl -tag -compact -width indent | .Bl -tag -compact -width indent | ||||
.It Fn gelf_getchdr | |||||
Retrieve an ELF Compression Header from the underlying ELF descriptor. | |||||
.It Fn gelf_getdyn | .It Fn gelf_getdyn | ||||
Retrieve an ELF | Retrieve an ELF | ||||
.Sy .dynamic | .Sy .dynamic | ||||
table entry. | table entry. | ||||
.It Fn gelf_getehdr | .It Fn gelf_getehdr | ||||
Retrieve an ELF Executable Header from the underlying ELF descriptor. | Retrieve an ELF Executable Header from the underlying ELF descriptor. | ||||
.It Fn gelf_getphdr | .It Fn gelf_getphdr | ||||
Retrieve an ELF Program Header Table entry from the underlying ELF descriptor. | Retrieve an ELF Program Header Table entry from the underlying ELF descriptor. | ||||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |