@@ -130,7 +130,7 @@ def __init__(self,
130130 self ._abbrevtable_cache = {}
131131 # Cache for program lines tables: a dict keyed by offset
132132 self ._linetable_cache = {}
133-
133+
134134 # Cache of compile units and map of their offsets for bisect lookup.
135135 # Access with .iter_CUs(), .get_CU_containing(), and/or .get_CU_at().
136136 self ._cu_cache = []
@@ -176,7 +176,7 @@ def get_DIE_from_refaddr(self, refaddr, cu=None):
176176 if cu is None :
177177 cu = self .get_CU_containing (refaddr )
178178 return cu .get_DIE_from_refaddr (refaddr )
179-
179+
180180 def get_DIE_by_sig8 (self , sig8 ):
181181 """ Find and return a DIE referenced by its type signature.
182182 sig8:
@@ -201,7 +201,7 @@ def get_DIE_by_sig8(self, sig8):
201201 tu = self ._type_units_by_sig .get (sig8 )
202202 if tu is None :
203203 raise KeyError ("Signature %016x not found in .debug_types" % sig8 )
204- return tu ._get_cached_DIE (tu .tu_offset + tu ['type_offset' ])
204+ return tu ._get_cached_DIE (tu .tu_offset + tu ['type_offset' ])
205205
206206 def get_CU_containing (self , refaddr ):
207207 """ Find the CU that includes the given reference address in the
@@ -450,7 +450,7 @@ def get_addr(self, cu, addr_index):
450450 raise DWARFError ('The file does not contain a debug_addr section for indirect address access' )
451451 # Selectors are not supported, but no assert on that. TODO?
452452 cu_addr_base = _get_base_offset (cu , 'DW_AT_addr_base' )
453- return struct_parse (cu .structs .the_Dwarf_target_addr , self .debug_addr_sec .stream , cu_addr_base + addr_index * cu .header .address_size )
453+ return struct_parse (cu .structs .the_Dwarf_target_addr , self .debug_addr_sec .stream , cu_addr_base + addr_index * cu .header .address_size )
454454
455455 #------ PRIVATE ------#
456456
0 commit comments