elfutils is a collection of utilities and libraries to read, create and modify ELF binary files, find and handle DWARF debug data, symbols, thread state and stacktraces for processes and core files on GNU/Linux.
The current elfutils source code can be checked out with:
Please reports bugs at https://sourceware.org/bugzilla/
To subscribe to the elfutils development list send email to firstname.lastname@example.org. Or use the form at https://sourceware.org/mailman/listinfo/elfutils-devel.
See the CONTRIBUTING file for how to propose patches to the code.
See the DEBUGINFOD page for information about the new debuginfod client/server.
- elf32, elf64 and gelf functions to read, modify and create ELF files.
- dwarf, dwfl and dwelf functions to read DWARF, find separate debuginfo, symbols and inspect process state.
- asm and disasm functions to assemble and disassamble instructions (partial support for i686 and BPF instructions only).
- Locate source files and line information for addresses.
- Create, modify, and extract from archives.
- Compare relevant parts of two ELF files for equality.
- Compress or decompress sections in an ELF file.
- Pedantic checking of ELF files compliance with gABI/psABI spec.
- Locate source of text relocations in ELF files.
- Script to make an offline archive for debugging of ELF binaries and linux kernel modules
- List symbols from ELF files.
- Show information from ELF files.
- Generate an index to speed access to archives.
- Print information from ELF file in human-readable form.
- List section sizes of ELF files.
- Print a stack for each thread in a process or core file.
- Print the strings of printable characters in files.
- Discard symbols and debug data from object files.
- Combine stripped files with separate symbols and debug information.
Included backends for machine specific ELF handling:
Design notes and extensions supported:
- Some design decisions and NOTES.
- List of DwarfExtensions recognized.
- List of ElflintGNU issues recognized.
- OldWikiIndex (outdated) project list.