| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
ProcessContainer --+
|
System
Interface to a batch of processes, plus some system wide settings. Contains a snapshot of processes.
|
|||
| bool |
|
||
|
|||
| dictionary-valueiterator |
|
||
| int |
|
||
|
Inherited from |
|||
| Instrumentation | |||
|---|---|---|---|
| Process |
|
||
| Processes snapshot | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| list of tuple( Process, str ) |
|
||
| int |
|
||
| Process |
|
||
| int |
|
||
| list( int ) |
|
||
| list of Window |
|
||
| bool |
|
||
| dictionary-keyiterator |
|
||
| dictionary-valueiterator |
|
||
|
|||
|
|||
|
|||
| Threads snapshots | |||
| Thread |
|
||
| int |
|
||
| list( int ) |
|
||
| bool |
|
||
|
|||
| Modules snapshots | |||
| list( Module... ) |
|
||
| list( Module... ) |
|
||
| list( Module... ) |
|
||
| int |
|
||
|
|||
| Event notifications (private) | |||
| bool |
|
||
| bool |
|
||
|
|||
| Global settings | |||
|---|---|---|---|
| ctypes.WinDLL |
|
||
| int |
|
||
|
|||
|
|||
| tuple( int, int ) |
|
||
|
|||
| Instrumentation | |||
|---|---|---|---|
| Window or None |
|
||
| Window |
|
||
| Window |
|
||
| Window |
|
||
| str |
|
||
| list( str ) |
|
||
| Global settings | |||
|
|||
| bool |
|
||
|
|||
| Global settings | |||
|---|---|---|---|
| str |
arch = Name of the processor architecture we're running on. |
||
| int |
bits = 32Size of the machine word in bits for the current architecture. |
||
| str |
os = Name of the Windows version we're runing on. |
||
| bool |
wow64 = FalseTrue if the debugger is a 32 bits process running in a
64 bits version of Windows, False otherwise.
|
||
| int |
pageSize = 4096Page size in bytes. |
||
|
|||
|
Inherited from |
|||
|
|||
Find the first top-level window in the current desktop to match the given class name and/or window name. If neither are provided any top-level window will match.
See Also: get_window_at |
Get the window located at the given coordinates in the desktop. If no such window exists an exception is raised.
See Also: find_window |
|
|
Requests debug privileges. This may be needed to debug processes running as SYSTEM (such as services) since Windows XP. |
Automatically detach from processes when the current thread dies. Works on the following platforms:
Fails on the following platforms:
Note: This call will fail if a debug port was not created. That is, if the debugger isn't attached to at least one process. For more info see: http://msdn.microsoft.com/en-us/library/ms679307.aspx |
Load the For this method to have any effect it MUST be called BEFORE any
function in Example:
from winappdbg import Debug
def simple_debugger( argv ):
# Instance a Debug object, passing it the event handler callback
debug = Debug( my_event_handler )
try:
# Enable support for symbol downloading
debug.system.load_dbghelp()
# Start a new process for debugging
debug.execv( argv )
# Wait for the debugee to finish
debug.loop()
# Stop the debugger
finally:
debug.stop()
|
Read the contents of the specified MSR (Machine Specific Register).
Warning: It could potentially brick your machine. It works on my machine, but your mileage may vary. |
Set the contents of the specified MSR (Machine Specific Register).
Warning: It could potentially brick your machine. It works on my machine, but your mileage may vary. |
When tracing, call this on every single step event for step on branch mode.
Warning: This method uses the processor's machine specific registers (MSR). It could potentially brick your machine. It works on my machine, but your mileage may vary. Note: It doesn't seem to work in VMWare or VirtualBox machines. Maybe it fails in other virtualization/emulation environments, no extensive testing was made so far. |
Returns the source and destination addresses of the last taken branch.
Warning: This method uses the processor's machine specific registers (MSR). It could potentially brick your machine. It works on my machine, but your mileage may vary. Note: It doesn't seem to work in VMWare or VirtualBox machines. Maybe it fails in other virtualization/emulation environments, no extensive testing was made so far. |
|
|||
archName of the processor architecture we're running on. For more details see win32.version.get_arch.
|
bitsSize of the machine word in bits for the current architecture. For more details see win32.version.get_bits.
|
osName of the Windows version we're runing on. For more details see win32.version.get_os.
|
pageSizePage size in bytes. Defaults to 0x1000 but it's automatically updated on runtime when importing the module.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Jul 20 14:32:16 2010 | http://epydoc.sourceforge.net |