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

Method _get_format

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

Source from the content-addressed store, hash-verified

2018 """UWOP_ALLOC_LARGE"""
2019
2020 def _get_format(self, unw_code):
2021 return (
2022 "UNWIND_CODE_ALLOC_LARGE",
2023 (
2024 "B,CodeOffset",
2025 "B:4,UnwindOp",
2026 "B:4,OpInfo",
2027 "H,AllocSizeInQwords" if unw_code.OpInfo == 0 else "I,AllocSize",
2028 ),
2029 )
2030
2031 def length_in_code_structures(self, unw_code, unw_info):
2032 return 2 if unw_code.OpInfo == 0 else 3

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected