dwarf_expr: Add DW_OP_{lo,hi}_user (#239)
authorWilliam Woodruff <william@yossarian.net>
Wed, 18 Sep 2019 12:21:42 +0000 (08:21 -0400)
committerEli Bendersky <eliben@users.noreply.github.com>
Wed, 18 Sep 2019 12:21:42 +0000 (05:21 -0700)
elftools/dwarf/dwarf_expr.py

index 046416d922342d8518244ba094bce513f2ddbdf9..69b97357601bcdb9b8c4a9fe48c4e835e04e8121 100644 (file)
@@ -80,6 +80,8 @@ DW_OP_name2opcode = dict(
     DW_OP_xderef_type=0xa7,
     DW_OP_convert=0xa8,
     DW_OP_reinterpret=0xa9,
+    DW_OP_lo_user=0xe0,
+    DW_OP_hi_user=0xff,
 )
 
 def _generate_dynamic_values(map, prefix, index_start, index_end, value_start):