Supplementary object files (#426)
authorRonan Dunklau <ronan.dunklau@aiven.io>
Mon, 8 Aug 2022 14:50:55 +0000 (16:50 +0200)
committerGitHub <noreply@github.com>
Mon, 8 Aug 2022 14:50:55 +0000 (07:50 -0700)
commite972a570d18f32210fa9d4bcfc615e244ad54555
treeb14ca349b121808ccfa3fd993cbc31b5b886a3b6
parentd37dd02e22c4ae39224962a0d300fb9aba2af683
Supplementary object files (#426)

* Recognize DW_FORM_ref_udata as a reference type.

References to other DIEs can also be implemented with a form
DW_FORM_ref_udata, for using the ULEB128 encoding

* Add support for DWARF supplementary object files.
15 files changed:
elftools/common/py3compat.py
elftools/dwarf/compileunit.py
elftools/dwarf/die.py
elftools/dwarf/dwarfinfo.py
elftools/dwarf/structs.py
elftools/elf/elffile.py
elftools/elf/structs.py
test/test_refaddr_bitness.py
test/test_supplementary_object_files.py [new file with mode: 0644]
test/testfiles_for_unittests/test_debugsup.common [new file with mode: 0644]
test/testfiles_for_unittests/test_debugsup1 [new file with mode: 0755]
test/testfiles_for_unittests/test_debugsup2 [new file with mode: 0755]
test/testfiles_for_unittests/test_gnudebugaltlink.common [new file with mode: 0644]
test/testfiles_for_unittests/test_gnudebugaltlink1 [new file with mode: 0755]
test/testfiles_for_unittests/test_gnudebugaltlink2 [new file with mode: 0755]