Bug 1674430
Summary: | RFE: support reading compressed ELF objects | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Panu Matilainen <pmatilai> |
Component: | elfutils | Assignee: | Mark Wielaard <mjw> |
elfutils sub component: | system-version | QA Contact: | Martin Cermak <mcermak> |
Status: | CLOSED ERRATA | Docs Contact: | Vladimír Slávik <vslavik> |
Severity: | unspecified | ||
Priority: | unspecified | CC: | dsmith, mcermak, mjw, mnewsome |
Version: | 8.0 | ||
Target Milestone: | rc | ||
Target Release: | 8.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | elfutils-0.176-1.el8 | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-11-05 22:18:00 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1682591, 1683705 | ||
Bug Blocks: | 1650074, 1701002 |
Description
Panu Matilainen
2019-02-11 10:50:12 UTC
The elfutils 0.176 rebase provides the new dwelf_elf_begin () function. For testing purposes you could of course look to see that dwelf_elf_begin is now in libdwelf.h and libdw.so. Also eu-readelf now takes advantage of dwelf_elf_begin() to directly read compressed ELF files. An example are linux kernel modules. Take for example a random one like: /usr/lib/modules/3.10.0-957.12.2.el7.x86_64/kernel/fs/xfs/xfs.ko.xz Before this change: $ eu-readelf -n xfs.ko.xz eu-readelf: cannot create EBL handle $ echo $? 1 After this change: $ eu-readelf -n xfs.ko.xz Note section [ 1] '.note.gnu.build-id' of 36 bytes at offset 0x40: Owner Data size Type GNU 20 GNU_BUILD_ID Build ID: 57949197896368b658cc27fd62191a7ca345826c $ echo $? 0 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:3575 |