From 85a698d7c30b5d19a22630c53b5e145b8fb9a32e Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Wed, 18 Sep 2019 08:21:42 -0400 Subject: [PATCH] dwarf_expr: Add DW_OP_{lo,hi}_user (#239) --- elftools/dwarf/dwarf_expr.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/elftools/dwarf/dwarf_expr.py b/elftools/dwarf/dwarf_expr.py index 046416d..69b9735 100644 --- a/elftools/dwarf/dwarf_expr.py +++ b/elftools/dwarf/dwarf_expr.py @@ -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): -- 2.30.2