mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 03:23:23 +08:00
[0.1.x] added : disasm::disasm method with offset parameter ( continue disassembling from the specified offset )
git-svn-id: https://pykd.svn.codeplex.com/svn@76813 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
0a1ca79ab1
commit
2f6845aa49
@ -21,11 +21,16 @@ public:
|
||||
return s;
|
||||
}
|
||||
|
||||
std::string reset() {
|
||||
std::string jump(ULONG64 offset) {
|
||||
m_currentOffset = offset;
|
||||
doDisasm();
|
||||
return disassemble();
|
||||
}
|
||||
|
||||
std::string reset() {
|
||||
m_currentOffset = m_beginOffset;
|
||||
doDisasm();
|
||||
return m_disasm;
|
||||
return disassemble();
|
||||
}
|
||||
|
||||
std::string
|
||||
|
@ -649,6 +649,7 @@ BOOST_PYTHON_MODULE( pykd )
|
||||
.def( python::init<>( "constructor" ) )
|
||||
.def( python::init<ULONG64>( boost::python::args("offset"), "constructor" ) )
|
||||
.def( "disasm", &Disasm::disassemble, "Disassemble next instruction" )
|
||||
.def( "disasm", &Disasm::jump, "Disassemble from the specified offset" )
|
||||
.def( "asm", &Disasm::assembly, "Insert assemblied instuction to current offset" )
|
||||
.def( "begin", &Disasm::begin, "Return begin offset" )
|
||||
.def( "current", &Disasm::current, "Return current offset" )
|
||||
|
Loading…
Reference in New Issue
Block a user