mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 11:43:23 +08:00
51 lines
1.0 KiB
C++
51 lines
1.0 KiB
C++
#pragma once
|
|
|
|
#include <boost/python.hpp>
|
|
#include <boost/python/object.hpp>
|
|
#include <dbgeng.h>
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
boost::python::object
|
|
getThreadList();
|
|
|
|
bool
|
|
setImplicitThread(
|
|
ULONG64 newThreadAddr );
|
|
|
|
ULONG64
|
|
getImplicitThread();
|
|
|
|
boost::python::object
|
|
getCurrentStack();
|
|
|
|
class dbgStackFrameClass : public DEBUG_STACK_FRAME {
|
|
|
|
public:
|
|
|
|
dbgStackFrameClass()
|
|
{
|
|
memset( static_cast<DEBUG_STACK_FRAME*>( this ), 0, sizeof(DEBUG_STACK_FRAME) );
|
|
}
|
|
|
|
dbgStackFrameClass( const DEBUG_STACK_FRAME &stackFrame )
|
|
{
|
|
memcpy( static_cast<DEBUG_STACK_FRAME*>( this ), &stackFrame, sizeof(DEBUG_STACK_FRAME) );
|
|
}
|
|
};
|
|
|
|
boost::python::object
|
|
getProcessorMode();
|
|
|
|
void
|
|
setProcessorMode(
|
|
const std::string &mode );
|
|
|
|
ULONG64
|
|
getCurrentProcess();
|
|
|
|
VOID
|
|
setCurrentProcess(
|
|
ULONG64 processAddr );
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|