bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/29267] readelf..info misreports DW_FORM_loclistx, DW_FORM_


From: sevaa at sprynet dot com
Subject: [Bug binutils/29267] readelf..info misreports DW_FORM_loclistx, DW_FORM_rnglistx
Date: Wed, 22 Jun 2022 13:56:01 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29267

--- Comment #1 from Vsevolod Alekseyev <sevaa at sprynet dot com> ---
The culprit is, probably, the case statement at dwarf.c:2774, where
fetch_indexed_addr() is being called both for DW_FORM_addrxN (where it belongs)
and for DW_FORM_loclistx/DW_FORM_rnglistx (where it does not). For the latter,
fetch_indexed_value should be used instead.

The text description is off, too. The loclistx value doesn't represent an
address index.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]