Home | Trees | Indices | Help |
|
---|
|
Interface to a batch of processes, plus some system wide settings. Contains a snapshot of processes.
|
|||
|
|||
|
|||
bool |
|
||
|
|||
dictionary-valueiterator |
|
||
int |
|
||
|
|||
|
|||
bool |
|
||
bool |
|
||
Inherited from |
|||
Instrumentation | |||
---|---|---|---|
int or None |
|
||
Process |
|
||
Processes snapshot | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
list of tuple( Process, str ) |
|
||
int |
|
||
Process |
|
||
int |
|
||
list( int ) |
|
||
list of Window |
|
||
bool |
|
||
dictionary-keyiterator |
|
||
dictionary-valueiterator |
|
||
bool |
|
||
bool |
|
||
|
|||
|
|||
Threads snapshots | |||
Thread |
|
||
int |
|
||
list( int ) |
|
||
bool |
|
||
|
|||
Modules snapshots | |||
list( Module... ) |
|
||
list( Module... ) |
|
||
list( Module... ) |
|
||
int |
|
||
bool |
|
|
|||
tuple(str, str, bool, bool, str, str) |
|
||
Debugging | |||
---|---|---|---|
bool |
|
||
bool |
|
||
ctypes.WinDLL |
|
||
Postmortem debugging | |||
tuple( str, bool, int ) |
|
||
list( str ) |
|
||
tuple( str, bool, int ) |
|
||
|
|||
|
|||
Permissions and privileges | |||
|
|||
|
|||
Miscellaneous global settings | |||
|
|||
tuple( int, int ) |
|
|
|||
win32.ServiceStatusProcess |
|
||
Instrumentation | |||
---|---|---|---|
Window or None |
|
||
Window |
|
||
Window |
|
||
Window |
|
||
Window |
|
||
str |
|
||
list( str ) |
|
||
Debugging | |||
str or None |
|
||
System services | |||
list( win32.ServiceStatusProcessEntry ) |
|
||
list( win32.ServiceStatusProcessEntry ) |
|
||
str |
|
||
str |
|
||
|
|||
|
|||
|
|||
|
|||
Permissions and privileges | |||
|
|||
bool |
|
||
Miscellaneous global settings | |||
bool |
|
||
int |
|
||
|
|
|||
Registry |
registry = <Local Registry> Windows Registry for this machine. |
||
__binary_types =
|
|||
__driver_types =
|
|||
__font_types =
|
|||
__months =
|
|||
__days_of_the_week =
|
|||
__dbghelp_locations =
|
|||
Platform settings | |||
---|---|---|---|
str |
arch =
Name of the processor architecture we're running on. |
||
int |
bits = 32 Size of the machine word in bits for the current architecture. |
||
str |
os =
Name of the Windows version we're runing on. |
||
bool |
wow64 = True True if the debugger is a 32 bits process running in a
64 bits version of Windows, False otherwise.
|
|
|||
Inherited from |
|||
Platform settings | |||
---|---|---|---|
int |
pageSize Page size in bytes. |
|
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.
|
Drops debug privileges. This may be needed to avoid being detected by certain anti-debug tricks.
|
Requests privileges.
|
Drops privileges.
|
Requests or drops privileges.
|
|
Get the program version from an executable file, if available.
|
Load the specified version of the This library is shipped with the Debugging Tools for Windows, and it's required to load debug symbols. Normally you don't need to call this method, as WinAppDbg already tries to load the latest version automatically - but it may come in handy if the Debugging Tools are installed in a non standard folder. 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: # Load a specific dbghelp.dll file debug.system.load_dbghelp("C:\Some folder\dbghelp.dll") # Start a new process for debugging debug.execv( argv ) # Wait for the debugee to finish debug.loop() # Stop the debugger finally: debug.stop()
|
Fix the symbol store path. Equivalent to the If the symbol store path environment variable hasn't been set, this method will provide a default one.
|
Defines the behavior of the debugged processes when the debugging thread dies. This method only affects the calling thread. 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 |
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. |
Returns the postmortem debugging settings from the Registry.
See Also: set_postmortem_debugger |
Returns the exclusion list for the postmortem debugger.
See Also: get_postmortem_debugger |
Sets the postmortem debugging settings in the Registry.
Warning: This method requires administrative rights. See Also: get_postmortem_debugger |
Adds the given filename to the exclusion list for postmortem debugging.
Warning: This method requires administrative rights. See Also: get_postmortem_exclusion_list |
Removes the given filename to the exclusion list for postmortem debugging from the Registry.
Warnings:
See Also: get_postmortem_exclusion_list |
Retrieve a list of all system services.
See Also: get_active_services, start_service, stop_service, pause_service, resume_service |
Retrieve a list of all active system services.
See Also: get_services, start_service, stop_service, pause_service, resume_service |
Get the service descriptor for the given service name.
See Also: start_service, stop_service, pause_service, resume_service |
Get the service display name for the given service name.
See Also: get_service |
Get the service unique name given its display name.
See Also: get_service |
Start the service given by name.
Warning: This method requires UAC elevation in Windows Vista and above. See Also: stop_service, pause_service, resume_service |
Stop the service given by name. Warning: This method requires UAC elevation in Windows Vista and above. See Also: get_services, get_active_services, start_service, pause_service, resume_service |
Pause the service given by name. Warning: This method requires UAC elevation in Windows Vista and above. Note: Not all services support this. See Also: get_services, get_active_services, start_service, stop_service, resume_service |
Resume the service given by name. Warning: This method requires UAC elevation in Windows Vista and above. Note: Not all services support this. See Also: get_services, get_active_services, start_service, stop_service, pause_service |
|
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.
|
__binary_types
|
__driver_types
|
__font_types
|
__months
|
__days_of_the_week
|
__dbghelp_locations
|
|
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 Fri Dec 20 17:54:55 2013 | http://epydoc.sourceforge.net |