Do not increase address by byte_size on old dwarf
Or so I hope. Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
a98cf4a99a
commit
0e244900ba
2
main.py
2
main.py
@ -221,7 +221,7 @@ class Bear():
|
||||
|
||||
self.truly_resolve_type(child_entry, typ_die)
|
||||
|
||||
if ('size_byte' in child_entry) and ('DW_AT_data_bit_offset' not in child_die.attributes):
|
||||
if ('size_byte' in child_entry) and ('DW_AT_data_bit_offset' not in child_die.attributes) and ('DW_AT_bit_offset' not in child_die.attributes):
|
||||
child_offset = child_offset + child_entry['size_byte']
|
||||
|
||||
child_dies.append(child_entry)
|
||||
|
Loading…
Reference in New Issue
Block a user