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

Method _get_format

pythonmemorymodule/pefile.py:2048–2052  ·  view source on GitHub ↗
(self, unw_code)

Source from the content-addressed store, hash-verified

2046 """UWOP_ALLOC_SMALL"""
2047
2048 def _get_format(self, unw_code):
2049 return (
2050 "UNWIND_CODE_ALLOC_SMALL",
2051 ("B,CodeOffset", "B:4,UnwindOp", "B:4,AllocSizeInQwordsMinus8"),
2052 )
2053
2054 def get_alloc_size(self):
2055 return self.struct.AllocSizeInQwordsMinus8 * 8 + 8

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected