dwarf/dwarf_expr: Add support for DW_OP_GNU_push_tls_address (#315)
authorWilliam Woodruff <william@trailofbits.com>
Mon, 1 Jun 2020 13:00:00 +0000 (09:00 -0400)
committerGitHub <noreply@github.com>
Mon, 1 Jun 2020 13:00:00 +0000 (06:00 -0700)
commit1ed78f5fef91ecd792c42e6f805114ab5a38ba4f
treeb699fef7dd58d1be0f4c1d5be0003439fb79f7aa
parent9f12da56703fa7e805fc31a7af80b314b30a9c2e
dwarf/dwarf_expr: Add support for DW_OP_GNU_push_tls_address (#315)

* dwarf/dwarf_expr: Add support for DW_OP_GNU_push_tls_address

* dwarf/dwarf_expr: Use a single 64-bit operand for const8x

DWARFv4 2.5.1.1: this should be consumed as a single 64-bit operand,
not as two 32-bit operands.

* dwarf/descriptions: Fix descriptions for const8{u,s}

* test: Add tests for changed OPs
elftools/dwarf/descriptions.py
elftools/dwarf/dwarf_expr.py
test/test_dwarf_expr.py