Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
X64RegisterSelector
Class · 0.45
accept_arg
Method · 0.45
accept_arg
Method · 0.45
accept_arg
Method · 0.45
compute_sib
Method · 0.45
Instruction
Class · 0.45
Push
Class · 0.45
Pop
Class · 0.45
Xchg
Class · 0.45
Ret
Class · 0.45
Int
Class · 0.45
Int3
Class · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected