[Bug binutils/28772] Provide /PASSTHRU/ section rule similar to /DISCARD/

2023-09-04 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28772

Nick Clifton  changed:

   What|Removed |Added

 CC||nickc at redhat dot com

--- Comment #1 from Nick Clifton  ---
Here is one reply to the request:

https://sourceware.org/pipermail/binutils/2023-September/129373.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug binutils/30792] Rnglists section dump in readelf outputs one rangelist per CU

2023-09-04 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30792

Nick Clifton  changed:

   What|Removed |Added

 CC||nickc at redhat dot com

--- Comment #2 from Nick Clifton  ---
(In reply to Vsevolod Alekseyev from comment #1)
Hi Vsevolod,

> This creates a problem of design philosophy: do you dump that as one
> rangelist, or as two? For practical debugging utility, you want two (or
> more), so that rangelist offsets can be followed. For faithfully
> representing the section contents, you want one, so that physically the same
> rangelist entry is not dumped several times. And readelf tries to have it
> both ways - for v4 sections, it treats overlapping rangelists as distinct
> (enumerates the rangelist offsets from DIEs and follows those), for v5
> sections it dumps the section contents (incorrectly in case of no offset
> tables).
> 
> I'd take a stab at fixing this,

Thank you! :-)

> but please tell me which approach to
> enumeration is right. If consistency with past versions (i. e. the
> half-here, half-there approach of right now) is right, tell me that too.

There is no one way that is "right", but my advice is this: readelf is
primarily intended to be tool to assist in diagnosing problems with the low
level features of ELF format binary files.  Hence an output that assists in
debugging is preferable to one that goes for accuracy over helpfulness.  

That said, the best solution would be one that caters for both camps.  For
example if the output showed the range lists only once, but also pointed out
which parts of each list were associated with specific DIEs, then this would be
even more helpful.  It would let the user know that the lists were being used
multiple times, and hence, by inference, that there are entities which share
the same range information and might therefore be related in other ways as
well.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug binutils/30792] Rnglists section dump in readelf outputs one rangelist per CU

2023-09-04 Thread sevaa at sprynet dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30792

--- Comment #3 from Vsevolod Alekseyev  ---
I don't want to change the output format gratuitously. I know for a fact people
out there are parsing readelf output programmatically, as a substitute for a
proper DWARF parser - that would throw them off. The V4 ranges section dumping
logic works as it is, it's only V5 that's broken.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Issue 59779 in oss-fuzz: binutils:fuzz_disas_ext-bfd_arch_arm: ASSERT: 0

2023-09-04 Thread sheriffbot via monorail
Updates:
Labels: Deadline-Approaching

Comment #2 on issue 59779 by sheriffbot: binutils:fuzz_disas_ext-bfd_arch_arm: 
ASSERT: 0
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=59779#c2

This bug is approaching its deadline for being fixed, and will be automatically 
derestricted within 7 days. If a fix is planned within 2 weeks after the 
deadline has passed, a grace extension can be granted.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.