Re: [PATCH] libdwfl: Correctly handle corefile non-contiguous segments

2023-11-13 Thread Aaron Merey
BTW this patch won't apply as-is. I removed the firefox corefile since I'd rather not send a >50M email to this list :) See branch users/amerey/try-pr30975 if you want to run the code. Aaron On Sun, Nov 12, 2023 at 3:16 PM Aaron Merey wrote: > > It is possible for segments of different shared l

[Bug general/30975] elfutils incorrectly reports core files with non-contiguous segments

2023-11-13 Thread amerey at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30975 --- Comment #4 from Aaron Merey --- (In reply to Aaron Merey from comment #3) > Patch posted to elfutils-devel@ > > https://sourceware.org/pipermail/elfutils-devel/2023q4/006644.html I should also clarify that this patch just prevents eager

[COMMITTED] backends: Fix arm_machine_flag_name version string.

2023-11-13 Thread Mark Wielaard
arm_machine_flag_name checks the version byte and if not zero returns a version string. There are only 5 versions defined. So check the version byte is not larger. * backends/arm_machineflagname.c (arm_machine_flag_name): Check version <= 0, otherwise return NULL. https://sourcewa

[Bug tools/31058] global-buffer-overflow exists in the function ebl_machine_flag_name in eblmachineflagname.c

2023-11-13 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31058 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tools/31059] Floating Point Exception exists in the function handle_relocs_relr in readelf.c

2023-11-13 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31059 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

☠ Buildbot (Sourceware): elfutils - failed test (failure) (main)

2023-11-13 Thread builder
A new failure has been detected on builder elfutils-fedora-x86_64 while building elfutils. Full details are available at: https://builder.sourceware.org/buildbot/#builders/59/builds/254 Build state: failed test (failure) Revision: 373f5212677235fc3ca6068b887111554790f944 Worker: bb1-2 Build

[PATCH] Fix computations with (potentially) NULL pointer

2023-11-13 Thread Paul Pluzhnikov
When map_address is NULL, computing map_address+offset is technically undefined behavior, and triggers Clang/LLVM warning when using -fsanitize=pointer-overflow. Fix this by using uintptr_t to perform computations. Signed-off-by: Shahriar "Nafi" Rouf --- libelf/elf_begin.c | 10 +- 1 fi

Re: ☠ Buildbot (Sourceware): elfutils - failed test (failure) (main)

2023-11-13 Thread Mark Wielaard
Hi, On Mon, Nov 13, 2023 at 10:38:18PM +, buil...@sourceware.org wrote: > A new failure has been detected on builder elfutils-fedora-x86_64 while > building elfutils. > > Full details are available at: > https://builder.sourceware.org/buildbot/#builders/59/builds/254 > > Build state: fa

[COMMITTED] rpmbuild: fix Makefile rules

2023-11-13 Thread Mark Wielaard
* Makefile.am (rpmbuild): Use mkdir -p. Use $(shell pwd). --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 87debb48..c9d59d4a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -47,9 +47,9 @@ rpm: dist rpmbuild -ts e

☺ Buildbot (Sourceware): elfutils - build successful (main)

2023-11-13 Thread builder
A restored build has been detected on builder elfutils-fedora-x86_64 while building elfutils. Full details are available at: https://builder.sourceware.org/buildbot/#builders/59/builds/256 Build state: build successful Revision: 950e43ba40e8f4be53cf06f5b360073a27bbb4ac Worker: bb2-2 Build Re

Re: [PATCH] elfutils: PR 30991 srcfiles tarball feature

2023-11-13 Thread Aaron Merey
Hi Housam, Thanks for working on this. This is a useful feature that I can definitely see myself using! On Wed, Nov 8, 2023 at 11:49 AM Housam Alamour wrote: > > * srclines.cxx: Introduce new option that places all the > source files associated with a specified dwarf/elf file > into a zip file