This commit is contained in:
disinvite 2023-12-28 15:19:20 -05:00
parent f6407b50d1
commit 0f85d11a5f

View File

@ -75,6 +75,8 @@ class Bin:
"""Parses a PE format EXE and allows reading data from a virtual address. """Parses a PE format EXE and allows reading data from a virtual address.
Reference: https://learn.microsoft.com/en-us/windows/win32/debug/pe-format""" Reference: https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"""
# pylint: disable=too-many-instance-attributes
def __init__(self, filename: str, logger=None) -> None: def __init__(self, filename: str, logger=None) -> None:
self.logger = logger self.logger = logger
self._debuglog(f'Parsing headers of "{filename}"... ') self._debuglog(f'Parsing headers of "{filename}"... ')