Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(0) | Call(0) | Derive(0) | Import(0)
src/w/i/winappdbg-1.5/winappdbg/event.py winappdbg(Download)
baseEvent = Event eventClasses = { win32.EXCEPTION_DEBUG_EVENT : ExceptionEvent, # 1 win32.CREATE_THREAD_DEBUG_EVENT : CreateThreadEvent, # 2 win32.CREATE_PROCESS_DEBUG_EVENT : CreateProcessEvent, # 3
eventCode = event.get_event_code() method = getattr(eventHandler, 'event', fallback) if eventCode == win32.EXCEPTION_DEBUG_EVENT: method = getattr(eventHandler, 'exception', method) method = getattr(eventHandler, event.eventMethod, method)
# Get the pre and post notification methods for exceptions. # If not found, the following steps take care of that. if eventCode == win32.EXCEPTION_DEBUG_EVENT: exceptionCode = event.get_exception_code() pre_name = self.__preExceptionNotifyCallbackName.get(
src/w/i/winappdbg-1.5/winappdbg/crash.py winappdbg(Download)
# Get some information for exception events. # To get the remaining information call fetch_extra_data(). elif self.eventCode == win32.EXCEPTION_DEBUG_EVENT: # Exception information.
# For memory related exceptions, get the memory contents # of the location that caused the exception to be raised. if self.eventCode == win32.EXCEPTION_DEBUG_EVENT: if self.pc != self.exceptionAddress and self.exceptionCode in ( win32.EXCEPTION_ACCESS_VIOLATION,
# Terminal rules if self.eventCode != win32.EXCEPTION_DEBUG_EVENT: return ("Not an exception", "NotAnException", "The event is not an exception.")
width = 8 if self.eventCode == win32.EXCEPTION_DEBUG_EVENT: (exploitability, expcode, expdescription) = self.isExploitable() msg += '\nSecurity risk level: %s\n' % exploitability
src/w/i/winappdbg-1.5/winappdbg/debug.py winappdbg(Download)
code = event.get_event_code() if code == win32.EXCEPTION_DEBUG_EVENT: # At this point, by default some exception types are swallowed by
src/w/i/winappdbg-1.5/winappdbg/textio.py winappdbg(Download)
""" if not text: if event.get_event_code() == win32.EXCEPTION_DEBUG_EVENT: what = event.get_exception_description() if event.is_first_chance():