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

Method get_int_size

windows/native_exec/native_function.py:24–28  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

22
23 @classmethod
24 def get_int_size(cls):
25 bits = platform.architecture()[0]
26 if bits not in cls.int_size:
27 raise ValueError("Unknow platform bits <{0}>".format(bits))
28 return cls.int_size[bits]
29
30 def get_new_page(self, size):
31 addr = windows.winproxy.VirtualAlloc(0, size, 0x1000, gdef.PAGE_EXECUTE_READWRITE)

Callers 1

reserve_intMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected