MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / __init__

Method __init__

pythonmemorymodule/pefile.py:1816–1838  ·  view source on GitHub ↗
(self, file_offset=0)

Source from the content-addressed store, hash-verified

1814 """
1815
1816 def __init__(self, file_offset=0):
1817 super(UnwindInfo, self).__init__(
1818 (
1819 "UNWIND_INFO",
1820 (
1821 "B:3,Version",
1822 "B:5,Flags",
1823 "B,SizeOfProlog",
1824 "B,CountOfCodes",
1825 "B:4,FrameRegister",
1826 "B:4,FrameOffset",
1827 ),
1828 ),
1829 file_offset=file_offset,
1830 )
1831 self._full_size = super(UnwindInfo, self).sizeof()
1832 self._opt_field_name = None
1833 self._code_info = StructureWithBitfields(
1834 ("UNWIND_CODE", ("B,CodeOffset", "B:4,UnwindOp", "B:4,OpInfo")),
1835 file_offset=0,
1836 )
1837 self._chained_entry = None
1838 self._finished_unpacking = False
1839
1840 def unpack_in_stages(self, data):
1841 """Unpacks the UNWIND_INFO "in two calls", with the first call establishing

Callers

nothing calls this directly

Calls 3

__init__Method · 0.45
sizeofMethod · 0.45

Tested by

no test coverage detected