Encapsulates the capability to contain Process objects.
|
|
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
bool
|
|
|
dictionary-valueiterator
|
|
|
int
|
|
|
|
| __add_process(self,
aProcess) |
|
|
|
|
| __del_process(self,
dwProcessId) |
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|
|
str
|
argv_to_cmdline(self,
argv)
Convert a list of arguments to a single command line string. |
|
|
|
list( str )
|
cmdline_to_argv(self,
lpCmdLine)
Convert a single command line string to a list of arguments. |
|
|
|
Process
|
start_process(self,
lpCmdLine,
bConsole=False,
bDebug=False,
bFollow=False,
bSuspended=False)
Starts a new process for debugging. |
|
|
|
bool
|
has_process(self,
dwProcessId)
Returns:
True if the snapshot contains a Process
object with the given global ID. |
|
|
|
Process
|
get_process(self,
dwProcessId)
Returns:
Process object with the given global ID. |
|
|
|
dictionary-keyiterator
|
iter_process_ids(self)
Returns:
Iterator of global process IDs in this snapshot. |
|
|
|
dictionary-valueiterator
|
|
|
list( int )
|
get_process_ids(self)
Returns:
List of global process IDs in this snapshot. |
|
|
|
int
|
|
|
|
scan(self)
Populates the snapshot with running processes and threads, and loaded
modules. |
|
|
|
|
scan_processes(self)
Populates the snapshot with running processes. |
|
|
|
|
|
|
|
clear_dead_processes(self)
Removes Process objects from the snapshot referring to processes no
longer running. |
|
|
|
|
clear_unattached_processes(self)
Removes Process objects from the snapshot referring to processes not
being debugged. |
|
|
|
|
close_process_handles(self)
Closes all open handles to processes in this snapshot. |
|
|
|
|
close_process_and_thread_handles(self)
Closes all open handles to processes and threads in this snapshot. |
|
|
|
|
|
|
|
clear(self)
Clears this snapshot. |
|
|
|
list of tuple( Process, str )
|
|
|
|
scan_processes_and_threads(self)
Populates the snapshot with running processes and threads. |
|
|
|
bool
|
has_thread(self,
dwThreadId)
Returns:
True if the snapshot contains a Thread
object with the given global ID. |
|
|
|
Thread
|
get_thread(self,
dwThreadId)
Returns:
Thread object with the given global ID. |
|
|
|
list( int )
|
get_thread_ids(self)
Returns:
List of global thread IDs in this snapshot. |
|
|
|
int
|
|
|
|
scan_modules(self)
Populates the snapshot with loaded modules. |
|
|
|
int
|
|
|
list( Module... )
|
find_modules_by_base(self,
lpBaseOfDll)
Returns:
List of Module objects with the given base address. |
|
|
|
list( Module... )
|
find_modules_by_name(self,
fileName)
Returns:
List of Module objects that best match the given filename. |
|
|
|
list( Module... )
|
|
|
|
|
|
|
|