diff --git a/pykd/dbgengine.h b/pykd/dbgengine.h index 642896b..4b6a796 100644 --- a/pykd/dbgengine.h +++ b/pykd/dbgengine.h @@ -160,6 +160,13 @@ enum EXECUTION_STATUS { DebugStatusNoDebuggee = 7 }; +enum DEBUG_ACCESS_TYPE { + DebugAccessRead = 0x00000001, + DebugAccessWrite = 0x00000002, + DebugAccessExecute = 0x00000004, + DebugAccessIo = 0x00000008 +}; + struct BUG_CHECK_DATA { ULONG code; diff --git a/pykd/pykdver.h b/pykd/pykdver.h index 9d1240e..b4c8e7c 100644 --- a/pykd/pykdver.h +++ b/pykd/pykdver.h @@ -2,7 +2,7 @@ #define PYKD_VERSION_MAJOR 0 #define PYKD_VERSION_MINOR 2 #define PYKD_VERSION_SUBVERSION 0 -#define PYKD_VERSION_BUILDNO 24 +#define PYKD_VERSION_BUILDNO 25 #define __VER_STR2__(x) #x diff --git a/pykd/python/pymod.cpp b/pykd/python/pymod.cpp index b29375f..00d69f0 100644 --- a/pykd/python/pymod.cpp +++ b/pykd/python/pymod.cpp @@ -634,6 +634,13 @@ BOOST_PYTHON_MODULE( pykd ) .value("NoDebuggee", DebugStatusNoDebuggee ) .export_values(); + python::enum_("debugAccess", "Debud Access Types") + .value("Read", DebugAccessRead ) + .value("Write", DebugAccessWrite ) + .value("Execute", DebugAccessExecute ) + .value("DebugAccessIo", DebugAccessIo ) + .export_values(); + python::class_( "eventHandler", "Base class for overriding and handling debug notifications" ) .def( "onBreakpoint", &EventHandlerWrap::OnBreakpoint,