mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 03:23:23 +08:00
[+] added: windbgIn windbgOut class for redirecting in/out from stdin/stdout
git-svn-id: https://pykd.svn.codeplex.com/svn@57811 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
1c7a05bec3
commit
55040a78e3
@ -27,6 +27,7 @@
|
||||
#include "dbgcallback.h"
|
||||
#include "dbgstack.h"
|
||||
#include "dbgpath.h"
|
||||
#include "dbginput.h"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@ -139,6 +140,11 @@ BOOST_PYTHON_MODULE( pykd )
|
||||
.def_readonly( "frameOffset", &dbgStackFrameClass::FrameOffset )
|
||||
.def_readonly( "stackOffset", &dbgStackFrameClass::StackOffset )
|
||||
.def_readonly( "frameNumber", &dbgStackFrameClass::FrameNumber );
|
||||
boost::python::class_<dbgOut>( "windbgOut", "windbgOut" )
|
||||
.def( "write", &dbgOut::write );
|
||||
boost::python::class_<dbgIn>( "windbgIn", "windbgIn" )
|
||||
.def( "readline", &dbgIn::readline );
|
||||
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -473,6 +473,10 @@
|
||||
RelativePath=".\dbgext.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dbginput.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\dbgmem.h"
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user