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

Method get_alloc_size

pythonmemorymodule/pefile.py:2034–2039  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2032 return 2 if unw_code.OpInfo == 0 else 3
2033
2034 def get_alloc_size(self):
2035 return (
2036 self.struct.AllocSizeInQwords * 8
2037 if self.struct.OpInfo == 0
2038 else self.struct.AllocSize
2039 )
2040
2041 def __str__(self):
2042 return ".ALLOCSTACK " + hex(self.get_alloc_size())

Callers 1

__str__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected