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. https://elfutils.org
  • C 70.2%
  • Shell 22.7%
  • C++ 3.3%
  • Makefile 1.4%
  • M4 1.4%
  • Other 0.9%
Find a file
Mark Wielaard ad3083f104 tests: Make elf-from-memory testcase work on big endian setups
We are providing structs for x86_64 (little endian). So make sure the
Ehdr and Phdr are always xlated to ELFDATA2LSB.

	* tests/elf-from-memory.c (main): Call elf64_xlatetom.

Signed-off-by: Mark Wielaard <mark@klomp.org>
2026-06-21 17:41:18 +02:00
.forgejo/workflows forge: Add a forgejo workflow to run various tests 2026-01-06 18:06:13 +01:00
backends x86: Fix out-of-bounds heap write in sample_perf_regs_mapping 2026-06-19 14:03:29 +02:00
config version.h: Add _ELFUTILS_THREAD_SAFE 2026-06-16 08:59:44 -04:00
debuginfod debuginfod-client.c: Set CURLOPT_CONNECTTIMEOUT_MS 2026-06-15 17:18:16 -04:00
doc debuginfod-client.c: Set CURLOPT_CONNECTTIMEOUT_MS 2026-06-15 17:18:16 -04:00
lib elfcompress: Handle existing output files (symlinks) 2026-06-19 00:53:59 +02:00
libasm Replace usage of ar with stored library manifest files 2025-01-21 18:57:34 +01:00
libcpu riscv_disasm.c: Fix out-of-bounds reads 2026-06-01 20:24:05 -04:00
libdw libdw: Fix out-of-bounds write parsing .debug_macro opcode table 2026-06-21 01:55:00 +02:00
libdwelf Replace usage of ar with stored library manifest files 2025-01-21 18:57:34 +01:00
libdwfl libdwfl: fix OOB read in elf_from_remote_memory phdr check 2026-06-21 15:45:51 +02:00
libdwfl_stacktrace PR33854: fix regression in dwflst_perf_sample_getframes 2026-02-05 10:18:55 -05:00
libebl libebl: Handle calloc failure in ebl_sample_perf_regs_mapping 2026-05-12 16:32:25 +02:00
libelf libelf: Get orig_addralign the same way for 32/64 bit ELF in elf_compress 2026-05-21 18:52:20 +02:00
m4 Update minimum C compiler supported to C11 plus stdatomic.h 2025-01-11 00:19:28 +01:00
po po: Add Georgian (ka) translation 2026-05-07 10:38:46 -04:00
src elfcompress: Handle existing output files (symlinks) 2026-06-19 00:53:59 +02:00
tests tests: Make elf-from-memory testcase work on big endian setups 2026-06-21 17:41:18 +02:00
.gitignore Replace usage of ar with stored library manifest files 2025-01-21 18:57:34 +01:00
.mailmap AUTHORS: Use generator script & git mailmap 2022-04-24 19:39:47 -04:00
AUTHORS AUTHORS: Use generator script & git mailmap 2022-04-24 19:39:47 -04:00
AUTHORS.sh AUTHORS: Use generator script & git mailmap 2022-04-24 19:39:47 -04:00
ChangeLog readelf: display dynamic symtab without section headers 2023-04-18 21:46:53 +02:00
CONDUCT Update code of conduct 2024-06-07 14:06:53 -04:00
configure.ac elfcompress: Handle existing output files (symlinks) 2026-06-19 00:53:59 +02:00
CONTRIBUTING CONTRIBUTING: Add Policy on the Use of LLM-generated Content 2026-02-17 15:13:11 -05:00
COPYING Update name, license and contributor policy. 2012-06-05 23:12:05 +02:00
COPYING-GPLV2 Update name, license and contributor policy. 2012-06-05 23:12:05 +02:00
COPYING-LGPLV3 Update name, license and contributor policy. 2012-06-05 23:12:05 +02:00
GPG-KEY GPG-KEY: Add key for Aaron Merey 2024-03-01 18:10:33 +01:00
Makefile.am Makefile.am: Add errors to lcov ignore list 2025-08-12 10:39:58 -04:00
NEWS version.h: Add _ELFUTILS_THREAD_SAFE 2026-06-16 08:59:44 -04:00
NOTES Fix spelling typos in NEWS, NOTES, TODO, and in comments of configure.ac 2020-12-12 18:06:28 +01:00
README SECURITY: new file 2023-07-03 10:25:40 -04:00
SECURITY SECURITY: new file 2023-07-03 10:25:40 -04:00
THANKS More correct info on contributors. 2009-01-10 18:17:09 -08:00
TODO Fix spelling typos in NEWS, NOTES, TODO, and in comments of configure.ac 2020-12-12 18:06:28 +01:00

The elfutils project provides libraries and tools for ELF files and DWARF data.

The project home is http://elfutils.org/

Releases are published at ftp://sourceware.org/pub/elfutils/
Which can also be found at https://sourceware.org/elfutils/ftp/

To build a release do: ./configure && make && make check
Please check the configure summary to make sure all recommended
features are enabled. There should be no failures after make check.

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

The current elfutils source code can be checked out with
git clone git://sourceware.org/git/elfutils.git

To build a git checkout do:
  autoreconf -i -f && \
  ./configure --enable-maintainer-mode && \
  make && make check

The developer mailinglist to send patches to is
elfutils-devel@sourceware.org.
https://sourceware.org/ml/elfutils-devel/

To subscribe send an email to elfutils-devel-subscribe@sourceware.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 NOTES files for some design decisions and notes.

See the SECURITY file for defining and handling security-sensitive bugs.