Skip to content

Commit

Permalink
Address issue brought up in PR #385
Browse files Browse the repository at this point in the history
  • Loading branch information
erocarrera committed Aug 26, 2024
1 parent 1be5822 commit 14a4c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6294,7 +6294,7 @@ def get_memory_mapped_image(self, max_virtual_address=0x10000000, ImageBase=None
self.relocate_image(ImageBase)

# Collect all sections in one code block
mapped_data = self.__data__[:]
mapped_data = self.header
for section in self.sections:
# Miscellaneous integrity tests.
# Some packer will set these to bogus values to make tools go nuts.
Expand Down

0 comments on commit 14a4c71

Please sign in to comment.