projects
/
pyelftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6b2913
)
DebugSectionDescriptor.size initialized with decompressed section size (#339)
author
Seva Alekseyev
<sevaa@yarxi.ru>
Tue, 27 Oct 2020 12:36:46 +0000
(08:36 -0400)
committer
GitHub
<noreply@github.com>
Tue, 27 Oct 2020 12:36:46 +0000
(
05:36
-0700)
elftools/elf/elffile.py
patch
|
blob
|
history
diff --git
a/elftools/elf/elffile.py
b/elftools/elf/elffile.py
index e6cf7c26824c042e4ff4b0ac7eea2d3df8b9bf11..011a16fae1c11ac7e33e35d38d2ed29fb1f1cf28 100644
(file)
--- 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
['sh_size']
,
+ size=section
._decompressed_size
,
address=section['sh_addr'])
@staticmethod