MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / set_sp

Method set_sp

pydevd_attach_to_process/winappdbg/thread.py:659–668  ·  view source on GitHub ↗

Sets the value of the stack pointer register. @type sp: int @param sp: Value of the stack pointer register.

(self, sp)

Source from the content-addressed store, hash-verified

657 return context.sp
658
659 def set_sp(self, sp):
660 """
661 Sets the value of the stack pointer register.
662
663 @type sp: int
664 @param sp: Value of the stack pointer register.
665 """
666 context = self.get_context(win32.CONTEXT_CONTROL)
667 context.sp = sp
668 self.set_context(context)
669
670 def get_fp(self):
671 """

Callers

nothing calls this directly

Calls 2

get_contextMethod · 0.95
set_contextMethod · 0.95

Tested by

no test coverage detected