From: William Woodruff Date: Tue, 17 Sep 2019 12:17:55 +0000 (-0400) Subject: dwarf_expr: Add DWARFv5 OPs (#240) X-Git-Tag: v0.26~11 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=12a0b9f8c6e3d02030ab6af614c33aac4f0d3dd2;p=pyelftools.git dwarf_expr: Add DWARFv5 OPs (#240) --- diff --git a/elftools/dwarf/dwarf_expr.py b/elftools/dwarf/dwarf_expr.py index 6a63efb..046416d 100644 --- a/elftools/dwarf/dwarf_expr.py +++ b/elftools/dwarf/dwarf_expr.py @@ -70,6 +70,16 @@ DW_OP_name2opcode = dict( DW_OP_bit_piece=0x9d, DW_OP_implicit_value=0x9e, DW_OP_stack_value=0x9f, + DW_OP_implicit_pointer=0xa0, + DW_OP_addrx=0xa1, + DW_OP_constx=0xa2, + DW_OP_entry_value=0xa3, + DW_OP_const_type=0xa4, + DW_OP_regval_type=0xa5, + DW_OP_deref_type=0xa6, + DW_OP_xderef_type=0xa7, + DW_OP_convert=0xa8, + DW_OP_reinterpret=0xa9, ) def _generate_dynamic_values(map, prefix, index_start, index_end, value_start):