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

Method get_code

windows/native_exec/simple_x86.py:975–978  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

973 self += i
974
975 def get_code(self):
976 if self.expected_labels:
977 raise ValueError("Unresolved labels: {0}".format(self.expected_labels.keys()))
978 return b"".join([x[1].get_code() for x in sorted(self.instrs.items())])
979
980 def add_instruction(self, instruction):
981 if isinstance(instruction, Label):

Calls 3

keysMethod · 0.45
get_codeMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected