mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 04:13:22 +08:00

[~] extended API of synthetic symbols: remove by address, remove by mask, remove all, query addres for dbgModuleClass [+] added processing debug event callbacks [+] all synthetic symbols are restored after reload (processing debug event callback) git-svn-id: https://pykd.svn.codeplex.com/svn@62091 9b283d60-5439-405e-af05-b73fd8c4d996
41 lines
782 B
C++
41 lines
782 B
C++
#pragma once
|
|
|
|
#include "dbgprint.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
class dbgOut {
|
|
|
|
public:
|
|
|
|
void
|
|
write( const boost::python::object &str ) {
|
|
DbgPrint::dprint( str );
|
|
}
|
|
|
|
};
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
class dbgIn {
|
|
|
|
public:
|
|
|
|
std::string
|
|
readline() {
|
|
|
|
char str[100];
|
|
ULONG inputSize;
|
|
|
|
OutputReader outputReader( dbgExt->client );
|
|
|
|
dbgExt->control->Input( str, sizeof(str), &inputSize );
|
|
|
|
return std::string( str );
|
|
}
|
|
|
|
};
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|