Encapsulates the capability to contain Process objects.
|
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
__initialize_snapshot(self)
Private method to automatically initialize the snapshot when you try
to use it without calling any of the scan_* methods first. |
source code
|
|
bool
|
|
dictionary-valueiterator
|
|
int
|
|
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
Process
|
start_process(self,
lpCmdLine,
bConsole=False,
bDebug=False,
bFollow=False,
bSuspended=False,
bInheritHandles=False,
dwParentProcessId=None)
Starts a new process for instrumenting (or debugging). |
source code
|
|
bool
|
|
Process
|
|
dictionary-keyiterator
|
|
dictionary-valueiterator
|
|
list( int )
|
|
int
|
|
int or None
|
|
|
scan(self)
Populates the snapshot with running processes and threads, and loaded
modules. |
source code
|
|
|
scan_processes(self)
Populates the snapshot with running processes. |
source code
|
|
|
|
|
clear_dead_processes(self)
Removes Process objects from the snapshot referring to processes no
longer running. |
source code
|
|
|
clear_unattached_processes(self)
Removes Process objects from the snapshot referring to processes not
being debugged. |
source code
|
|
|
close_process_handles(self)
Closes all open handles to processes in this snapshot. |
source code
|
|
|
close_process_and_thread_handles(self)
Closes all open handles to processes and threads in this snapshot. |
source code
|
|
|
|
|
|
list of tuple( Process, str )
|
|
|
scan_processes_and_threads(self)
Populates the snapshot with running processes and threads. |
source code
|
|
bool
|
|
Thread
|
|
list( int )
|
|
int
|
|
|
scan_modules(self)
Populates the snapshot with loaded modules. |
source code
|
|
int
|
|
list( Module... )
|
|
list( Module... )
|
|
list( Module... )
|
|
|
|
|
|