From: Eli Bendersky Date: Tue, 27 Oct 2020 12:39:37 +0000 (-0700) Subject: Replace field access with property name access X-Git-Tag: v0.27~4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9548e6d3032e1de5290cf0a2e0cf0c21b66af6b;p=pyelftools.git Replace field access with property name access --- diff --git a/elftools/elf/elffile.py b/elftools/elf/elffile.py index 011a16f..6a00e0a 100644 --- a/elftools/elf/elffile.py +++ b/elftools/elf/elffile.py @@ -689,7 +689,7 @@ class ELFFile(object): stream=section_stream, name=section.name, global_offset=section['sh_offset'], - size=section._decompressed_size, + size=section.data_size, address=section['sh_addr']) @staticmethod