class :
kong.ELF.ELF_platform.DT : mine!(Dyn)
| Type | Name | Description |
| Data: | ||
| Sym[] | symbols | |
| Rel[] | reloc | Relocations. |
| Rela[] | reloc_a | Relocation addends. |
| Word[] | h_buckets | Hash buckets for symbol lookups. |
| Word[] | h_chains | Hash chains for symbol lookups. |
| Word[] | depends | Paths to additional library dependencies. Values are string table offsets. |
| Rel[] | PLT_reloc | Procedure Linkage Table relocations. |
| Rela[] | PLT_reloca | Procedure Linkage Table relocation addends. |
| Word | PLT_type | DT_REL or DT_RELA. |
| char[] | strings | ELF string table. |
| PT | segment | Host segment. |
| Methods: | ||
| void () | finalize | |
| Sym* (string name) | symbol_lookup | Find symbol by name. |
| string (size_t offset) | string_lookup | Find string by table offset. |
- Don't assume all data is available.
- PLT_reloc and PLT_reloca are mutually exclusive, check PLT_type.
Example:
[elf_dump.d http://destroy.selfip.org/svn_view/index.cgi/root/view/kong/examples/elf_dump.d]
Related:
image_interface, mine, PT, [ELF.types http://destroy.selfip.org/svn_view/index.cgi/root/view/kong/ELF/types.d]
