Add pointer type to supported types
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
b520e6d0f5
commit
e1be4b7e6a
5
main.py
5
main.py
@ -22,7 +22,8 @@ supported_types = [
|
||||
'DW_TAG_structure_type',
|
||||
'DW_TAG_array_type',
|
||||
'DW_TAG_union_type',
|
||||
'DW_TAG_enumeration_type'
|
||||
'DW_TAG_enumeration_type',
|
||||
'DW_TAG_pointer_type',
|
||||
]
|
||||
|
||||
|
||||
@ -257,6 +258,8 @@ class Bear():
|
||||
entry['children'] = child_entries
|
||||
elif die_type.tag == 'DW_TAG_enumeration_type':
|
||||
entry['type'] = safe_DIE_name(die_type, 'ENUM')
|
||||
elif die_type.tag == 'DW_TAG_pointer_type':
|
||||
entry['type'] = safe_DIE_name(die_type, 'POINTER')
|
||||
else:
|
||||
eprint("Unsupported type:", die_type.tag)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user