| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
MemoryOperations --+
|
object --+ |
| |
ProcessDebugOperations --+
|
object --+ |
| |
SymbolOperations --+
|
object --+ |
| |
ThreadContainer --+
|
object --+ |
| |
ModuleContainer --+
|
Process
Interface to a process. Contains threads and modules snapshots.
|
|||
|
__ThreadsAndModulesIterator Iterator object for Process objects. |
|||
|
|||
|
|||
| bool |
|
||
|
Inherited from |
|||
| Properties | |||
|---|---|---|---|
| int |
|
||
| str |
|
||
| bool |
|
||
| bool |
|
||
| int |
|
||
| str |
|
||
| tuple(int, int) |
|
||
| dict(str → str) |
|
||
| tuple(int, int) |
|
||
| list of str |
|
||
| int |
|
||
| int |
|
||
| Module |
|
||
| win32.PEB |
|
||
| int |
|
||
| bool |
|
||
| Instrumentation | |||
|
|||
|
|||
|
|||
|
|||
| tuple( Thread, int ) |
|
||
|
|||
|
|||
|
|||
| generator of win32.MemoryBasicInformation |
|
||
| int |
|
||
| int |
|
||
| win32.MemoryBasicInformation |
|
||
|
|||
|
|||
| list( win32.MemoryBasicInformation ) |
|
||
| Processes snapshot | |||
| bool |
|
||
| int |
|
||
| iterator |
|
||
|
|||
|
|||
| Handle | |||
|
|||
|
|||
| ProcessHandle |
|
||
| Memory mapping | |||
| dict( int → str ) |
|
||
| list( win32.MemoryBasicInformation ) |
|
||
| bool |
|
||
| bool |
|
||
| bool |
|
||
| bool |
|
||
| bool |
|
||
| bool |
|
||
| bool |
|
||
| bool |
|
||
| bool |
|
||
| bool |
|
||
| bool |
|
||
| bool |
|
||
| bool |
|
||
| bool |
|
||
| bool |
|
||
| bool |
|
||
| Memory read | |||
| str |
|
||
| int |
|
||
| int |
|
||
| str, unicode |
|
||
| int |
|
||
| str |
|
||
| int |
|
||
| int |
|
||
| str, unicode |
|
||
| int |
|
||
| int |
|
||
| Memory write | |||
| int |
|
||
| int |
|
||
| int |
|
||
| int |
|
||
|
|||
|
|||
|
|||
|
|||
| Disassembly | |||
| list of tuple( long, int, str, str ) |
|
||
| list of tuple( long, int, str, str ) |
|
||
| list of tuple( long, int, str, str ) |
|
||
| tuple( long, int, str, str ) |
|
||
| tuple( long, int, str, str ) |
|
||
| list of tuple( long, int, str, str ) |
|
||
| Debugging | |||
|
|||
|
|||
| int or None |
|
||
| int or None |
|
||
| int or None |
|
||
| int or None |
|
||
| int or None |
|
||
| int or None |
|
||
| bool |
|
||
| dict( str → str ) |
|
||
| Labels | |||
| str |
|
||
| int |
|
||
| str |
|
||
| tuple( str or None, str or int or None, int or None ) |
|
||
| Symbols | |||
| None or tuple( str, int, int ) |
|
||
| list of tuple( str, int, int ) |
|
||
| iterator of tuple( str, int, int ) |
|
||
|
|||
| int or None |
|
||
|
|||
| Threads snapshot | |||
|
|||
|
|||
|
|||
| list( Thread ) |
|
||
| Thread |
|
||
| int |
|
||
| list( int ) |
|
||
| list of Window |
|
||
| bool |
|
||
| dictionary-keyiterator |
|
||
| dictionary-valueiterator |
|
||
|
|||
| Event notifications (private) | |||
| bool |
|
||
| bool |
|
||
| bool |
|
||
| bool |
|
||
| bool |
|
||
| Modules snapshot | |||
|
|||
| Module |
|
||
| Module |
|
||
| list( int... ) |
|
||
| Module |
|
||
| int |
|
||
| bool |
|
||
| dictionary-keyiterator |
|
||
| dictionary-valueiterator |
|
||
|
|||
|
|||
| Labels | |||
|---|---|---|---|
| tuple( str or None, str or int or None, int or None ) |
|
||
|
|||
| Properties | |||
|---|---|---|---|
| dict(str → str) |
|
||
| Labels | |||
| str |
|
||
| tuple( str or None, str or int or None, int or None ) |
|
||
|
|||
| int |
dwProcessId Global process ID. |
||
| str |
fileName Filename of the main module. |
||
| ProcessHandle |
hProcess Handle to the process. |
||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
|
Opens a new handle to the process. The new handle is stored in the hProcess property. |
Closes the handle to the process. Note:
Normally you don't need to call this method. All handles created by
WinAppDbg are automatically closed when the garbage
collector claims them. So unless you've been tinkering with it,
setting hProcess to |
|
The same as:
|
See Also: get_thread_count, get_module_count |
See Also: iter_threads, iter_modules |
Waits for the process to finish executing.
|
Terminates the execution of the process.
|
Suspends execution on all threads of the process.
|
Resumes execution on all threads of the process.
|
Tries to determine if the process is being debugged by another process. It may detect other debuggers besides WinAppDbg.
Warning: May return inaccurate results when some anti-debug techniques are used by the target process. Note: To know if a process currently being debugged by a Debug object, call Debug.is_debugee instead. |
|
Warning:
If a process returns |
Injects relocatable code into the process memory and executes it.
See Also: inject_dll |
Injects a DLL into the process memory.
Warning:
Setting See Also: inject_code |
Injects a new thread to call ExitProcess(). Optionally waits for the injected thread to finish.
Warning:
Setting |
Notify the creation of a new process. This is done automatically by the Debug class, you shouldn't need to call it yourself.
|
|
|||
dwProcessIdGlobal process ID. Use get_pid instead.
|
fileNameFilename of the main module. Use get_filename instead.
|
hProcessHandle to the process. Use get_handle instead.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Jul 20 14:32:16 2010 | http://epydoc.sourceforge.net |