pykd/pykd/dbgprocess.h
SND\kernelnet_cp 470e376d73 [+] added : getCurrentPorcess, setCurrentProcess routines
git-svn-id: https://pykd.svn.codeplex.com/svn@58080 9b283d60-5439-405e-af05-b73fd8c4d996
2010-11-26 15:26:00 +00:00

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 );
/////////////////////////////////////////////////////////////////////////////////