v1: https://sourceware.org/pipermail/elfutils-devel/2023q4/006644.html
v2 changes:
The size of the uncompressed testcore-noncontig has been reduced from
736M to 54K.
dwfl_addrsegment tests have been added to verify correct handling of
non-contiguous segments.
---
libdwfl/dwfl_segment_report_mod
From: Aleksei Vetrov
Test dwfl-report-offline-memory against an archive that contains
non-relocatable ELFs with the same name and contents.
Signed-off-by: Aleksei Vetrov
---
tests/run-dwfl-report-offline-memory.sh | 7 +++
tests/test-ar-duplicates.a.bz2 | Bin 0 -> 783 bytes
2 f
From: Aleksei Vetrov
When archive is processed in process_archive (libdwfl/offline.c), it
creates an Elf object for each archive member. Then in
process_archive_member it calls process_file to create a Dwfl_Module
through __libdwfl_report_elf.
The ownership of the Elf object is expected to be:
A restored build has been detected on builder elfutils-debian-testing-x86_64
while building elfutils.
Full details are available at:
https://builder.sourceware.org/buildbot/#builders/145/builds/218
Build state: build successful
Revision: 1bd9deb9aa19ac2e2fa9665009e0d5924adcf4d3
Worker: bb2-1
Hi Aleksei,
On Thu, 2023-11-16 at 21:29 +, vvv...@google.com wrote:
> This check was initially added to test if offset overflows the safe
> prefix where any string will be null-terminated. However the check
> was placed in a wrong place and didn't cover all `attrp->form` cases.
>
> * libd