mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 03:46:11 +00:00
Added continue until call for emulation (#599)
* Added continue until call for emulation * Updated r2
This commit is contained in:
parent
94f417c1ff
commit
d35f8f64f9
2
radare2
2
radare2
@ -1 +1 @@
|
||||
Subproject commit 3e55b5f57d3d8eb2c38e681f125e7b9517191fde
|
||||
Subproject commit 8255f2a96ccb286cad4708affba26822512037a0
|
@ -923,7 +923,11 @@ void CutterCore::continueUntilDebug(QString offset)
|
||||
void CutterCore::continueUntilCall()
|
||||
{
|
||||
if (currentlyDebugging) {
|
||||
cmd("dcc");
|
||||
if (currentlyEmulating) {
|
||||
cmdEsil("aecc");
|
||||
} else {
|
||||
cmd("dcc");
|
||||
}
|
||||
QString programCounterValue = cmd("dr?`drn PC`").trimmed();
|
||||
seek(programCounterValue);
|
||||
emit registersChanged();
|
||||
|
@ -74,7 +74,6 @@ DebugToolbar::DebugToolbar(MainWindow *main, QWidget *parent) :
|
||||
actionStartEmul->setVisible(true);
|
||||
actionAttach->setVisible(true);
|
||||
actionContinueUntilMain->setVisible(true);
|
||||
actionContinueUntilCall->setVisible(true);
|
||||
this->colorToolbar(false);
|
||||
});
|
||||
connect(actionStep, &QAction::triggered, Core(), &CutterCore::stepDebug);
|
||||
@ -99,7 +98,6 @@ DebugToolbar::DebugToolbar(MainWindow *main, QWidget *parent) :
|
||||
actionStart->setVisible(false);
|
||||
actionAttach->setVisible(false);
|
||||
actionContinueUntilMain->setVisible(false);
|
||||
actionContinueUntilCall->setVisible(false);
|
||||
continueUntilButton->setDefaultAction(actionContinueUntilSyscall);
|
||||
this->colorToolbar(true);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user