eliben / pyelftools

Parsing ELF and DWARF in Python
Other
1.99k stars 508 forks source link

Dynamic array size can be a loclist/locexpr #512

Closed sevaa closed 11 months ago

sevaa commented 11 months ago

Observed a DW_AT_upper_bound with a location expression in the binary in issue #508. Good binary, that.

A DW_AT_count with a locexpr was not found there, but the spec says it's more or less semantically interchangeable with DW_AT_upper_bound.