Package winappdbg
[hide private]
[frames] | no frames]

Source Code for Package winappdbg

  1  # Copyright (c) 2009, Mario Vilas 
  2  # All rights reserved. 
  3  # 
  4  # Redistribution and use in source and binary forms, with or without 
  5  # modification, are permitted provided that the following conditions are met: 
  6  # 
  7  #     * Redistributions of source code must retain the above copyright notice, 
  8  #       this list of conditions and the following disclaimer. 
  9  #     * Redistributions in binary form must reproduce the above copyright 
 10  #       notice,this list of conditions and the following disclaimer in the 
 11  #       documentation and/or other materials provided with the distribution. 
 12  #     * Neither the name of the copyright holder nor the names of its 
 13  #       contributors may be used to endorse or promote products derived from 
 14  #       this software without specific prior written permission. 
 15  # 
 16  # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
 17  # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
 18  # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
 19  # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
 20  # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
 21  # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
 22  # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
 23  # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
 24  # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
 25  # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
 26  # POSSIBILITY OF SUCH DAMAGE. 
 27   
 28  """ 
 29  Windows application debugging engine for Python. 
 30   
 31  by Mario Vilas (mvilas at gmail.com) 
 32   
 33  Project: U{http://sourceforge.net/projects/winappdbg/} 
 34   
 35  Web:     U{http://winappdbg.sourceforge.net/} 
 36   
 37  Blog:    U{http://breakingcode.wordpress.com} 
 38   
 39  @group Instrumentation: System, Process, Thread, Module 
 40  @group Debugging: Debug, EventHandler, NoEvent, DebugRegister 
 41  @group Crash reporting: Crash, CrashContainer, CrashDump 
 42  @group Text input and output: HexInput, HexOutput, HexDump, DebugLog 
 43  @group Win32 API wrappers: win32, Handle, ProcessHandle, ThreadHandle, FileHandle 
 44  @group Internal use: breakpoint, crash, debug, event, system, textio 
 45   
 46  @type version: str 
 47  @var  version: This WinAppDbg release version. 
 48  """ 
 49   
 50  __revision__ = "$Id: __init__.py 424 2009-10-19 00:42:24Z qvasimodo $" 
 51   
 52  # List of all public symbols 
 53  __all__ =   [ 
 54                  # Library version 
 55                  'version', 
 56   
 57                  # from breakpoint import * 
 58                  'DebugRegister', 
 59   
 60                  # from crash import * 
 61                  'Crash', 
 62                  'CrashContainer', 
 63                  'CrashTable', 
 64                  'VolatileCrashContainer', 
 65                  'DummyCrashContainer', 
 66   
 67                  # from debug import * 
 68                  'Debug', 
 69   
 70                  # from system import * 
 71                  'Module', 
 72                  'Thread', 
 73  ##                'Window', 
 74                  'Process', 
 75                  'System', 
 76   
 77                  # from debug import * 
 78                  'EventHandler', 
 79  ##                'EventFactory', 
 80                  'NoEvent', 
 81   
 82                  # from textio import * 
 83                  'HexDump', 
 84                  'HexInput', 
 85                  'HexOutput', 
 86                  'Table', 
 87                  'CrashDump', 
 88                  'DebugLog', 
 89                  'Logger', 
 90   
 91                  # import win32 
 92                  'win32', 
 93   
 94                  # from win32 import Handle, ProcessHandle, ThreadHandle, FileHandle 
 95                  'Handle', 
 96                  'ProcessHandle', 
 97                  'ThreadHandle', 
 98                  'FileHandle', 
 99              ] 
100   
101  # Import all public symbols 
102  from breakpoint import * 
103  from crash import * 
104  from debug import * 
105  from event import * 
106  from system import * 
107  from textio import * 
108  import win32 
109  from win32 import Handle, ProcessHandle, ThreadHandle, FileHandle 
110   
111  # Library version 
112  version = "Version 1.3" 
113