ELFUTILS

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:

git clone git://sourceware.org/git/elfutils.git

Please reports bugs at https://sourceware.org/bugzilla/

Project discussion on elfutils-devel@sourceware.org (archives) or visit us on irc.freenode.net channel #elfutils.

To subscribe to the elfutils development list send email to elfutils-devel-subscribe@sourceware.org. Or enter your e-mail address in the box below and hit the button:

See the CONTRIBUTING file for how to propose patches to the code.

Releases: ftp://sourceware.org/pub/elfutils/ or https://sourceware.org/elfutils/ftp/

Tests code coverage for last release.

Included libraries:

libelf
elf32, elf64 and gelf functions to read, modify and create ELF files.
libdw
dwarf, dwfl and dwelf functions to read DWARF, find separate debuginfo, symbols and inspect process state.
libasm
asm and disasm functions to assemble and disassamble instructions (partial support for i686 and BPF instructions only).

Included utilities:

eu-addr2line
Locate source files and line information for addresses.
eu-ar
Create, modify, and extract from archives.
eu-elfcmp
Compare relevant parts of two ELF files for equality.
eu-elfcompress
Compress or decompress sections in an ELF file.
eu-elflint
Pedantic checking of ELF files compliance with gABI/psABI spec.
eu-findtextrel
Locate source of text relocations in ELF files.
eu-make-debug-archive
Script to make an offline archive for debugging of ELF binaries and linux kernel modules
eu-nm
List symbols from ELF files.
eu-objdump
Show information from ELF files.
eu-ranlib
Generate an index to speed access to archives.
eu-readelf
Print information from ELF file in human-readable form.
eu-size
List section sizes of ELF files.
eu-stack
Print a stack for each thread in a process or core file.
eu-strings
Print the strings of printable characters in files.
eu-strip
Discard symbols and debug data from object files.
eu-unstrip
Combine stripped files with separate symbols and debug information.

Included backends for machine specific ELF handling:

aarch64 alpha arm bpf i386 ia64 m68k ppc ppc64 s390 s390x sh sparc sparc64 tilegx x32 x86_64

[LGPLv3 logo] [GPLv3 logo]
License. The libraries and backends are dual GPLv2+/LGPLv3+. The utilities are GPLv3+.

Design notes and extensions supported:


Questions? Send them to elfutils-devel@sourceware.org or visit us on irc.freenode.net channel #elfutils.