From: Eli Bendersky Date: Mon, 23 Mar 2020 13:02:22 +0000 (-0700) Subject: Reformat whitespace X-Git-Tag: v0.27~34 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=641729c2e4006f628575e5a9f93192477fd09f3e;p=pyelftools.git Reformat whitespace --- diff --git a/elftools/dwarf/dwarfinfo.py b/elftools/dwarf/dwarfinfo.py index ce1bce8..70ebe04 100644 --- a/elftools/dwarf/dwarfinfo.py +++ b/elftools/dwarf/dwarfinfo.py @@ -227,8 +227,8 @@ class DWARFInfo(object): the DWARF data, or None if the section doesn't exist """ if self.debug_aranges_sec: - return ARanges(self.debug_aranges_sec.stream, - self.debug_aranges_sec.size, + return ARanges(self.debug_aranges_sec.stream, + self.debug_aranges_sec.size, self.structs) else: return None @@ -285,9 +285,9 @@ class DWARFInfo(object): self.structs.Dwarf_uint32(''), self.debug_info_sec.stream, offset) dwarf_format = 64 if initial_length == 0xFFFFFFFF else 32 - + # Temporary structs for parsing the header - # The structs for the rest of the CU depend on the header data. + # The structs for the rest of the CU depend on the header data. # cu_structs = DWARFStructs( little_endian=self.config.little_endian, @@ -341,4 +341,3 @@ class DWARFInfo(object): structs=structs, program_start_offset=self.debug_line_sec.stream.tell(), program_end_offset=end_offset) -