Landing: c447183ab0f3
Project / Subsystem
binutils / binutils/readelf
Date
2026-07-09
Author
"H.J. Lu" <hjl@sourceware.org>
Commit
c447183ab0f32d0c2378e72cfd64f5e048b62cb4
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- binutils/readelf
- patch_id
- —
- commit_hash
- c447183ab0f32d0c2378e72cfd64f5e048b62cb4
- source_type
- public_inbox
- headline
- Save and dump original section header values in readelf
- tldr
- readelf now saves and dumps original section header values for better debugging of corrupt ELF files.
- author
- "H.J. Lu" <hjl@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • binutils
- • readelf
- • ELF
- • debugging
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-09T00:00:00.000Z
The readelf utility now saves and dumps the original section header values before they are cleared during validation. This change helps in diagnosing issues with corrupt ELF files by making the ‘garbage’ values visible. New test files and an updated test script are included to verify this functionality.