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

Class NoEvent

source code


No event.

Dummy Event object that can be used as a placeholder when no debug event has occured yet. It's never returned by the EventFactory.

Instance Methods [hide private]
 
__init__(self, debug, raw=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__len__(self)
Always returns 0, so when evaluating the object as a boolean it's always False.
source code
int
get_event_code(self)
Returns: Debug event code as defined in the Win32 API.
source code
int
get_pid(self)
Returns: Process global ID where the event occured.
source code
int
get_tid(self)
Returns: Thread global ID where the event occured.
source code
Process
get_process(self)
Returns: Process where the event occured.
source code
Thread
get_thread(self)
Returns: Thread where the event occured.
source code
int
get_code(self)
Alias of get_event_code for backwards compatibility with WinAppDbg version 1.0. (Inherited from winappdbg.event.Event)
source code
str
get_event_description(self)
Returns: User-friendly description of the event. (Inherited from winappdbg.event.Event)
source code
str
get_event_name(self)
Returns: User-friendly name of the event. (Inherited from winappdbg.event.Event)
source code

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

Class Variables [hide private]
str eventMethod = 'no_event'
Method name to call when using EventHandler subclasses.
str eventName = 'No event'
User-friendly name of the event.
str eventDescription = 'No debug event has occured.'
User-friendly description of the event.
Instance Variables [hide private]
int continueStatus
Continue status to pass to win32.ContinueDebugEvent. (Inherited from winappdbg.event.Event)
Debug debug
Debug object that received the event. (Inherited from winappdbg.event.Event)
DEBUG_EVENT raw
Raw DEBUG_EVENT structure as used by the Win32 API. (Inherited from winappdbg.event.Event)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, debug, raw=None)
(Constructor)

source code 

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

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

__len__(self)
(Length operator)

source code 

Always returns 0, so when evaluating the object as a boolean it's always False. This prevents Debug.cont from trying to continue a dummy event.

get_event_code(self)

source code 
Returns: int
Debug event code as defined in the Win32 API.
Overrides: Event.get_event_code
(inherited documentation)

get_pid(self)

source code 
Returns: int
Process global ID where the event occured.
Overrides: Event.get_pid
(inherited documentation)

get_tid(self)

source code 
Returns: int
Thread global ID where the event occured.
Overrides: Event.get_tid
(inherited documentation)

get_process(self)

source code 
Returns: Process
Process where the event occured.
Overrides: Event.get_process
(inherited documentation)

get_thread(self)

source code 
Returns: Thread
Thread where the event occured.
Overrides: Event.get_thread
(inherited documentation)