Package winappdbg :: Module event :: Class Event
[hide private]
[frames] | no frames]

Class Event


Event object.

Instance Methods [hide private]
 
__init__(self, debug, raw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
str
get_event_name(self)
Returns: User-friendly name of the event.
str
get_event_description(self)
Returns: User-friendly description of the event.
int
get_event_code(self)
Returns: Debug event code as defined in the Win32 API.
int
get_code(self)
Returns: Debug event code as defined in the Win32 API.
int
get_pid(self)
Returns: Process global ID where the event occured.
int
get_tid(self)
Returns: Thread global ID where the event occured.
Process
get_process(self)
Returns: Process where the event occured.
Thread
get_thread(self)
Returns: Thread where the event occured.

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
str eventName = 'Unknown event'
User-friendly name of the event.
str eventDescription = 'A debug event of an unknown type has occur...
User-friendly description of the event.
Instance Variables [hide private]
int continueStatus
Continue status to pass to win32.ContinueDebugEvent.
Debug debug
Debug object that received the event.
DEBUG_EVENT raw
Raw DEBUG_EVENT structure as used by the Win32 API.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, debug, raw)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • debug (Debug) - Debug object that received the event.
  • raw (DEBUG_EVENT) - Raw DEBUG_EVENT structure as used by the Win32 API.
Overrides: object.__init__

get_event_name(self)

 
Returns: str
User-friendly name of the event.

get_event_description(self)

 
Returns: str
User-friendly description of the event.

get_event_code(self)

 
Returns: int
Debug event code as defined in the Win32 API.

get_code(self)

 
Returns: int
Debug event code as defined in the Win32 API.

get_pid(self)

 
Returns: int
Process global ID where the event occured.

See Also: get_process

get_tid(self)

 
Returns: int
Thread global ID where the event occured.

See Also: get_thread

get_process(self)

 
Returns: Process
Process where the event occured.

See Also: get_pid

get_thread(self)

 
Returns: Thread
Thread where the event occured.

See Also: get_tid


Class Variable Details [hide private]

eventDescription

User-friendly description of the event.
Type:
str
Value:
'A debug event of an unknown type has occured.'