From b9548e6d3032e1de5290cf0a2e0cf0c21b66af6b Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Tue, 27 Oct 2020 05:39:37 -0700 Subject: [PATCH] Replace field access with property name access --- elftools/elf/elffile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2