[PATCH] libdwfl: Read no more than required to parse dynamic sections

2022-11-28 Thread gavin
From: Gavin Li Since size checking has been moved to dwfl_elf_phdr_memory_callback(), there is no longer a need for dwfl_segment_report_module() to enforce the same. Reading beyond the end of the dynamic section actually causes issues when passing the data to elfXX_xlatetom() because it is possib

Re: [PATCH][RFC] readelf: partial support of ZSTD compression

2022-11-28 Thread Mark Wielaard
Hi Martin, On Mon, Nov 28, 2022 at 02:16:35PM +0100, Martin Liška wrote: > On 10/29/22 00:21, Mark Wielaard wrote: > > Although I like to also have compression working. Then we can also > > add support to src/elfcompress, which makes for a good testcase. See > > tests/run-compress.sh (which has f

Re: [PATCH] Missing newline for: elfcompress -t zlib-gnu a.out -force

2022-11-28 Thread Mark Wielaard
Hi Martin, On Mon, 2022-11-28 at 14:03 +0100, Martin Liška wrote: > Fixes: > ./src/elfcompress -t zlib-gnu a.out -force > [28] .zdebug_aranges unchanged, already GNU compressed[29] > .zdebug_info unchanged, already GNU compressed[30] .zdebug_abbrev > unchanged, already GNU compressed[31] .zdebug_l

☠ Buildbot (GNU Toolchain): elfutils - failed test (failure) (master)

2022-11-28 Thread builder--- via Elfutils-devel
A new failure has been detected on builder elfutils-debian-armhf while building elfutils. Full details are available at: https://builder.sourceware.org/buildbot/#builders/6/builds/105 Build state: failed test (failure) Revision: 98bdf533c4990728f0db653ab4e98a503d7654ce Worker: debian-armhf B

Re: [PATCH][RFC] readelf: partial support of ZSTD compression

2022-11-28 Thread Martin Liška
On 10/29/22 00:21, Mark Wielaard wrote: Although I like to also have compression working. Then we can also add support to src/elfcompress, which makes for a good testcase. See tests/run-compress.sh (which has found some subtle memory issues when run under valgrind). Hi. All right, so I'm prep

[PATCH] Missing newline for: elfcompress -t zlib-gnu a.out -force

2022-11-28 Thread Martin Liška
Hey. Fixes: ./src/elfcompress -t zlib-gnu a.out -force [28] .zdebug_aranges unchanged, already GNU compressed[29] .zdebug_info unchanged, already GNU compressed[30] .zdebug_abbrev unchanged, already GNU compressed[31] .zdebug_line unchanged, already GNU compressed[32] .zdebug_str unchanged, al

[Bug tools/29719] eu-readelf -s=section is confusing

2022-11-28 Thread mliska at suse dot cz via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29719 Martin Liska changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED