Package vtrace :: Package platforms :: Module posix :: Class PtraceMixin
[hide private]
[frames] | no frames]

Class PtraceMixin

source code

A platform mixin for using the ptrace functions to attach/detach/continue/stepi etc. Many *nix systems will probably use this...

NOTE: if you get a PT_FOO undefined, it *probably* means that the PT_FOO macro isn't defined for that platform (which means it need to be done another way like PT_GETREGS on darwin doesn't exist... but the darwin mixin over-rides platformGetRegs)

Instance Methods [hide private]
 
__init__(self)
Setup supported modes
source code
 
platformExec(self, cmdline) source code
 
platformWriteMemory(self, address, bytes) source code
Method Details [hide private]

platformExec(self, cmdline)

source code 
Decorators:
  • @v_base.threadwrap

platformWriteMemory(self, address, bytes)

source code 
Decorators:
  • @v_base.threadwrap