False positive on LocationParser.attribute_has_location() (#501)
authorSeva Alekseyev <sevaa@yarxi.ru>
Thu, 14 Sep 2023 13:27:12 +0000 (09:27 -0400)
committerGitHub <noreply@github.com>
Thu, 14 Sep 2023 13:27:12 +0000 (06:27 -0700)
commit07bdd57d9e4d018405a58dfc7cbf10493a4a0799
tree107c6bb16fc6247c65f702c764b2b774f76cde84
parentc404826ee516d5309154f0b2dd74c0f52c1c2e40
False positive on LocationParser.attribute_has_location() (#501)

* Fix for LocationParser.attribute_has_location

* Test for DWARFv3, section 5.6.6

* V5 ctrparts to GNU attribs that may be locations

* Test for the false negative

* Test explanation
.gitignore
elftools/dwarf/locationlists.py
test/test_dwarf_locationattr.py [new file with mode: 0644]