'DW_FORM_ref8', 'DW_FORM_ref'):
refaddr = self.cu.cu_offset + attr.raw_value
return self.cu.get_DIE_from_refaddr(refaddr)
- elif attr.form in ('DW_FORM_refaddr'):
+ elif attr.form in ('DW_FORM_ref_addr'):
return self.cu.dwarfinfo.get_DIE_from_refaddr(attr.raw_value)
elif attr.form in ('DW_FORM_ref_sig8'):
# Implement search type units for matching signature
.debug_info section.
refaddr:
- Either a refaddr of a DIE (possibly from a DW_FORM_refaddr
+ Either a refaddr of a DIE (possibly from a DW_FORM_ref_addr
attribute) or the section offset of a CU (possibly from an
aranges table).