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
Find a file
Aaron Merey c460e20886
gelf_getmove.c: Handle ELFCLASS32 and ELFCLASS64 separately
Currently gelf_getmove does not distinguish between ELFCLASS32 and
ELFCLASS64 binaries.  This is assumes that Elf32_Move and Elf64_Move
structs are the same size.

This assumption is false since the m_info and m_poffset fields have
type uint32_t for Elf32_Move but uint64_t for Elf64_Move.

Fix this by handling ELFCLASS32 and ELFCLASS64 cases separately when
copying Elfxx_Move fields to dst.

Signed-off-by: Aaron Merey <amerey@redhat.com>
2026-01-09 10:36:01 -05:00
.forgejo/workflows forge: Add a forgejo workflow to run various tests 2026-01-06 18:06:13 +01:00
backends backends: Guard x86_sample_* function calls behind HAVE_X86_INITREG_SAMPLE 2025-10-24 19:06:21 -04:00
config Prepare for 0.194 2025-10-24 21:18:43 -04:00
debuginfod PR33635: Introduce debuginfod --home-redirect and --home-html 2025-12-05 09:37:13 -05:00
doc PR33635: Introduce debuginfod --home-redirect and --home-html 2025-12-05 09:37:13 -05:00
lib libdw: Fix eu_search_tree TOCTOU bugs 2025-06-02 17:06:31 -04:00
libasm Replace usage of ar with stored library manifest files 2025-01-21 18:57:34 +01:00
libcpu Fix const-correctness issues 2025-11-25 20:12:59 -05:00
libdw libdw: Make sure to get .eh_frame_hdr with .eh_frame in getcfi_shdr 2025-12-10 00:38:20 +01:00
libdwelf Replace usage of ar with stored library manifest files 2025-01-21 18:57:34 +01:00
libdwfl link_map.c: Declare name_no_sysroot only if openat2 RESOLVE_IN_ROOT is supported 2025-10-27 22:40:26 -04:00
libdwfl_stacktrace libdwfl_stacktrace + libebl: dwflst_sample_getframes non-perf api 2025-10-24 11:05:01 -04:00
libebl libdwfl_stacktrace + libebl: dwflst_sample_getframes non-perf api 2025-10-24 11:05:01 -04:00
libelf gelf_getmove.c: Handle ELFCLASS32 and ELFCLASS64 separately 2026-01-09 10:36:01 -05:00
m4 Update minimum C compiler supported to C11 plus stdatomic.h 2025-01-11 00:19:28 +01:00
po po: Update Polish translation 2025-11-30 22:11:49 -05:00
src readelf: gcc_except_table: add newline in output 2025-12-17 16:40:39 +01:00
tests tests: Disable valgrind for run-large-elf-file and run-compress-test 2025-12-19 00:11:53 +01: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 Prepare for 0.194 2025-10-24 21:18:43 -04:00
CONTRIBUTING forge: Add a forgejo workflow to run various tests 2026-01-06 18:06:13 +01: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 PR33635: Introduce debuginfod --home-redirect and --home-html 2025-12-05 09:37:13 -05: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.