Difference between revisions of "Executable and Linkable Format"
Chris Tyler (talk | contribs) (Created page with "Category:Assembly LanguageCategory:SPO600The Executable and Linkable Format (ELF) is a file format for binary executable files, object code, shared libraries, and core...") |
(No difference)
|
Latest revision as of 09:38, 11 October 2019
The Executable and Linkable Format (ELF) is a file format for binary executable files, object code, shared libraries, and core dumps (diagnostic snapshots of running software). It is a multi-section file format and can therefore be readily extended with additional information, such as IR for Link Time Optimization or debugging data. ELF is used across many different operating systems on a range of software platforms.
Tools
ELF files are used by the kernel and many programs (as, ld, and so forth). These utility tools are additionally useful in working with ELF files:
- objdump - displays information from ELF object files
- readelf - displays information about an ELF file
- gdb - GNU debugger
- elfedit - alters ELF header information
- addr2line - converts a memory address into the corresponding filename and line number (for debugging)
- strip - removes symbols (including those generated by the -g compiler option)
Resources
- The 101 of ELF files on Linux: Understanding and Analysis
- Executable and Linkable Format (Wikipedia)
- The manpage for elf(5)