mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 04:13:22 +08:00
[0.2.x] added : debugAccess enum
git-svn-id: https://pykd.svn.codeplex.com/svn@85781 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
e9923606b3
commit
843ab7ac07
@ -160,6 +160,13 @@ enum EXECUTION_STATUS {
|
|||||||
DebugStatusNoDebuggee = 7
|
DebugStatusNoDebuggee = 7
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum DEBUG_ACCESS_TYPE {
|
||||||
|
DebugAccessRead = 0x00000001,
|
||||||
|
DebugAccessWrite = 0x00000002,
|
||||||
|
DebugAccessExecute = 0x00000004,
|
||||||
|
DebugAccessIo = 0x00000008
|
||||||
|
};
|
||||||
|
|
||||||
struct BUG_CHECK_DATA
|
struct BUG_CHECK_DATA
|
||||||
{
|
{
|
||||||
ULONG code;
|
ULONG code;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define PYKD_VERSION_MAJOR 0
|
#define PYKD_VERSION_MAJOR 0
|
||||||
#define PYKD_VERSION_MINOR 2
|
#define PYKD_VERSION_MINOR 2
|
||||||
#define PYKD_VERSION_SUBVERSION 0
|
#define PYKD_VERSION_SUBVERSION 0
|
||||||
#define PYKD_VERSION_BUILDNO 24
|
#define PYKD_VERSION_BUILDNO 25
|
||||||
|
|
||||||
|
|
||||||
#define __VER_STR2__(x) #x
|
#define __VER_STR2__(x) #x
|
||||||
|
@ -634,6 +634,13 @@ BOOST_PYTHON_MODULE( pykd )
|
|||||||
.value("NoDebuggee", DebugStatusNoDebuggee )
|
.value("NoDebuggee", DebugStatusNoDebuggee )
|
||||||
.export_values();
|
.export_values();
|
||||||
|
|
||||||
|
python::enum_<DEBUG_ACCESS_TYPE>("debugAccess", "Debud Access Types")
|
||||||
|
.value("Read", DebugAccessRead )
|
||||||
|
.value("Write", DebugAccessWrite )
|
||||||
|
.value("Execute", DebugAccessExecute )
|
||||||
|
.value("DebugAccessIo", DebugAccessIo )
|
||||||
|
.export_values();
|
||||||
|
|
||||||
python::class_<EventHandlerWrap, EventHandlerPtr, boost::noncopyable>(
|
python::class_<EventHandlerWrap, EventHandlerPtr, boost::noncopyable>(
|
||||||
"eventHandler", "Base class for overriding and handling debug notifications" )
|
"eventHandler", "Base class for overriding and handling debug notifications" )
|
||||||
.def( "onBreakpoint", &EventHandlerWrap::OnBreakpoint,
|
.def( "onBreakpoint", &EventHandlerWrap::OnBreakpoint,
|
||||||
|
Loading…
Reference in New Issue
Block a user