Re: [PATCH v2] dwarf_getaranges: Build aranges list from CUs instead of .debug_aranges

2024-02-21 Thread Aaron Merey
Hi Mark, On Tue, Feb 20, 2024 at 5:23 PM Mark Wielaard wrote: > > > As for the number of aranges found, there is a difference for libxul.so: > > 250435 with the patch compared to 254832 without. So 4397 fewer aranges > > are found when using the new CU iteration method. I'll dig into this and >

[PATCH] readelf: Use unsigned loop variables in handle_verneed and handle_verdef

2024-02-21 Thread Mark Wielaard
Prevent signed underflow by changing loop variables to unsigned and doing count checks before decrementing. This isn't really a bug, but prevents UB detected by ubsan on fuzzed input. The bad (fuzzed) input data does get detected anyway. * src/readelf.c (handle_verneed): Use unsigned cnt,

[PATCH] libebl: ebl_object_note print 32bit annobin address ranges correctly

2024-02-21 Thread Mark Wielaard
Annobin address ranges were always printed as if they were 64bit wide because addr_size was set to twice the size. This was done because the note description size should contain two addresses. Fix this by setting the address size to just one address and then check that descsz is twice that.

[Bug debuginfod/27913] extend webapi for gdb-index queries

2024-02-21 Thread fche at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27913 Frank Ch. Eigler changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---