[Bug tools/30772] New: dwarflint checking for specification recursion

2023-08-16 Thread tromey at sourceware dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=30772

Bug ID: 30772
   Summary: dwarflint checking for specification recursion
   Product: elfutils
   Version: unspecified
Status: NEW
  Severity: normal
  Priority: P2
 Component: tools
  Assignee: unassigned at sourceware dot org
  Reporter: tromey at sourceware dot org
CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

This idea comes from this thread:

https://sourceware.org/pipermail/gdb-patches/2023-August/201655.html

The idea is that if a DIE refers to itself via a chain
of DW_AT_specification (or the other ways a DIE can refer
to another), then dwarflint ought to warn, as recursion like
this is never valid.

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

[Bug libdw/26773] sleb128 values near INT64_MAX/MIN not correctly read

2020-10-22 Thread tromey at sourceware dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=26773

--- Comment #1 from Tom Tromey  ---
I looked at this a little today.

In addition to this bug, I think the _unchecked variants
have another bug; namely they do:

  const size_t max = len_leb128 (int64_t) - 1;

This limits the number of bytes read-- but it seems like
it maybe ought to read until the first byte without the
high bit set.

FWIW gdb seems to rely on implementation-defined behavior
here.  It does all the sleb work in an unsigned type
and then casts it to signed on return.

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

[Bug tools/29150] Would be useful to have a filter in eu-readelf like --name=

2022-05-16 Thread tromey at sourceware dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29150

Tom Tromey  changed:

   What|Removed |Added

 CC||tromey at sourceware dot org

--- Comment #1 from Tom Tromey  ---
dwgrep can do this and way, way more.

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