5
Fork 1
mirror of https://sourceware.org/git/elfutils.git synced 2026-06-10 13:59:45 +00:00
No description
  • C 70.2%
  • Shell 22.7%
  • C++ 3.3%
  • Makefile 1.4%
  • M4 1.4%
  • Other 0.9%
Find a file
Aaron Merey 003d1c8bc8
riscv_disasm.c: Fix out-of-bounds reads
The riscv_disasm function reads instruction mnemonics from static
arrays based on the Control and Status Register (CSR) number encoded
in an instruction.  Two separate bounds checks performed before reading
from these arrays had incorrect upper bounds and allowed out-of-bounds
reads.

Fix two CSR bounds checks to prevent this. The affected CSR numbers that
are no longer included in the modified checks are now properly handled
in a generic CSR handler in the riscv_disasm function.

Signed-off-by: Aaron Merey <amerey@redhat.com>
2026-06-01 20:24:05 -04:00
.forgejo/workflows forge: Add a forgejo workflow to run various tests 2026-01-06 18:06:13 +01:00
backends backends/i386_reloc.def: Fix entry for R_386_TLS_DESC 2026-05-12 23:33:46 +02:00
config config: Remove empty /* */ comment from known-dwarf.awk 2026-04-20 23:15:10 +02:00
debuginfod debuginfod: Don't trust x-debuginfod-size in debuginfod_validate_imasig 2026-05-14 16:15:10 +02:00
doc doc: Update libelf.3 with gelf.h information 2026-04-14 22:39:25 -04:00
lib Prepare for 0.195 2026-04-15 17:06:12 -04: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 dwarf_getsrclines.c: Restore initialization of debug_str_offset 2026-05-14 18:04:25 -04:00
libdwelf Replace usage of ar with stored library manifest files 2025-01-21 18:57:34 +01:00
libdwfl libdwfl: Fix out of memory handling in link_map.c report_r_debug 2026-05-04 20:44:14 +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 shstrtab/symtab names more consistently 2026-05-28 15:35:31 +02:00
tests tests/Makefile.am: Add --track-destroy=yes to valgrind_cmd 2026-05-13 10:59:15 -04: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 tests/Makefile.am: Add --track-destroy=yes to valgrind_cmd 2026-05-13 10:59:15 -04: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 Prepare for 0.195 2026-04-15 17:06:12 -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.