[Bug tools/30772] dwarflint checking for specification recursion

mark at klomp dot org sourceware-bugzilla@sourceware.org
Wed Aug 16 19:29:29 GMT 2023


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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
libdw dwarf_attr_integrate does prevent cycles by limiting the chain of
DW_AT_abstract_origin and DW_AT_specification to 16 (arbitrary number).

On a different level, DW_AT_import can also create cycles (or rather infinite
imports). __libdw_visit_scopes does contain some cycle detection.

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


More information about the Elfutils-devel mailing list