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

Method get_arg

windows/debug/breakpoints.py:66–67  ·  view source on GitHub ↗
(self, nb, proc, thread)

Source from the content-addressed store, hash-verified

64## Arguments Helper (need to move this elsewhere)
65class X86ArgumentRetriever(object):
66 def get_arg(self, nb, proc, thread):
67 return proc.read_dword(thread.context.sp + 4 + (4 * nb))
68
69 def set_arg(self, nb, value, proc, thread):
70 return proc.write_dword(thread.context.sp + 4 + (4 * nb), value)

Callers 2

__getitem__Method · 0.45

Calls 1

read_dwordMethod · 0.80

Tested by

no test coverage detected