diff --git a/main.py b/main.py index 4bf7a7d..0be9748 100644 --- a/main.py +++ b/main.py @@ -175,7 +175,7 @@ class Bear(): lloc = self.dump_expr(die_type, ll.loc_expr) entry['address'] = hex(int(entry['address'], 16) + lloc[0].args[0]) - if 'DW_AT_type' in die_type.attributes and die_type.tag not in ['DW_TAG_base_type', 'DW_TAG_structure_type', 'DW_TAG_array_type']: + if 'DW_AT_type' in die_type.attributes and die_type.tag not in supported_types: # Check if the type is a redefinition of a base type die_type_test = die_type while 'DW_AT_type' in die_type_test.attributes: