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

Method from_int

windows/native_exec/simple_x64.py:79–82  ·  view source on GitHub ↗
(cls, size, x)

Source from the content-addressed store, hash-verified

77
78 @classmethod
79 def from_int(cls, size, x):
80 if x < 0:
81 x = x & ((2 ** size) - 1)
82 return cls(size, bin(x)[2:])
83
84 def copy(self):
85 return type(self)(self.size, self.array)

Callers 15

X64RegisterSelectorClass · 0.45
accept_argMethod · 0.45
accept_argMethod · 0.45
accept_argMethod · 0.45
compute_sibMethod · 0.45
InstructionClass · 0.45
PushClass · 0.45
PopClass · 0.45
XchgClass · 0.45
RetClass · 0.45
IntClass · 0.45
Int3Class · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected