mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Ported to Rizin
This commit is contained in:
parent
5ce286dea5
commit
c6ed2c0a06
2
rizin
2
rizin
@ -1 +1 @@
|
|||||||
Subproject commit 7114d3cec72e25a5ca0f7f58ec25fc195c25fc11
|
Subproject commit 646d135323041e2907d5c7116a0bd97ac35f3cd1
|
@ -1919,7 +1919,7 @@ void CutterCore::continueBackDebug()
|
|||||||
}
|
}
|
||||||
emit debugTaskStateChanged();
|
emit debugTaskStateChanged();
|
||||||
|
|
||||||
connect(debugTask.data(), &R2Task::finished, this, [this] () {
|
connect(debugTask.data(), &RizinTask::finished, this, [this] () {
|
||||||
debugTask.clear();
|
debugTask.clear();
|
||||||
syncAndSeekProgramCounter();
|
syncAndSeekProgramCounter();
|
||||||
emit registersChanged();
|
emit registersChanged();
|
||||||
@ -2101,7 +2101,7 @@ void CutterCore::stepBackDebug()
|
|||||||
}
|
}
|
||||||
emit debugTaskStateChanged();
|
emit debugTaskStateChanged();
|
||||||
|
|
||||||
connect(debugTask.data(), &R2Task::finished, this, [this] () {
|
connect(debugTask.data(), &RizinTask::finished, this, [this] () {
|
||||||
debugTask.clear();
|
debugTask.clear();
|
||||||
syncAndSeekProgramCounter();
|
syncAndSeekProgramCounter();
|
||||||
emit debugTaskStateChanged();
|
emit debugTaskStateChanged();
|
||||||
@ -2142,7 +2142,7 @@ bool CutterCore::isTraceSessionInProgress() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (currentlyEmulating) {
|
if (currentlyEmulating) {
|
||||||
if (core->anal->esil->trace) {
|
if (core->analysis->esil->trace) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
@ -2173,7 +2173,7 @@ void CutterCore::startTraceSession()
|
|||||||
}
|
}
|
||||||
emit debugTaskStateChanged();
|
emit debugTaskStateChanged();
|
||||||
|
|
||||||
connect(debugTask.data(), &R2Task::finished, this, [this] () {
|
connect(debugTask.data(), &RizinTask::finished, this, [this] () {
|
||||||
if (debugTaskDialog) {
|
if (debugTaskDialog) {
|
||||||
delete debugTaskDialog;
|
delete debugTaskDialog;
|
||||||
}
|
}
|
||||||
@ -2182,7 +2182,7 @@ void CutterCore::startTraceSession()
|
|||||||
emit debugTaskStateChanged();
|
emit debugTaskStateChanged();
|
||||||
});
|
});
|
||||||
|
|
||||||
debugTaskDialog = new R2TaskDialog(debugTask);
|
debugTaskDialog = new RizinTaskDialog(debugTask);
|
||||||
debugTaskDialog->setBreakOnClose(true);
|
debugTaskDialog->setBreakOnClose(true);
|
||||||
debugTaskDialog->setAttribute(Qt::WA_DeleteOnClose);
|
debugTaskDialog->setAttribute(Qt::WA_DeleteOnClose);
|
||||||
debugTaskDialog->setDesc(tr("Creating debug tracepoint..."));
|
debugTaskDialog->setDesc(tr("Creating debug tracepoint..."));
|
||||||
@ -2208,7 +2208,7 @@ void CutterCore::stopTraceSession()
|
|||||||
}
|
}
|
||||||
emit debugTaskStateChanged();
|
emit debugTaskStateChanged();
|
||||||
|
|
||||||
connect(debugTask.data(), &R2Task::finished, this, [this] () {
|
connect(debugTask.data(), &RizinTask::finished, this, [this] () {
|
||||||
if (debugTaskDialog) {
|
if (debugTaskDialog) {
|
||||||
delete debugTaskDialog;
|
delete debugTaskDialog;
|
||||||
}
|
}
|
||||||
@ -2217,7 +2217,7 @@ void CutterCore::stopTraceSession()
|
|||||||
emit debugTaskStateChanged();
|
emit debugTaskStateChanged();
|
||||||
});
|
});
|
||||||
|
|
||||||
debugTaskDialog = new R2TaskDialog(debugTask);
|
debugTaskDialog = new RizinTaskDialog(debugTask);
|
||||||
debugTaskDialog->setBreakOnClose(true);
|
debugTaskDialog->setBreakOnClose(true);
|
||||||
debugTaskDialog->setAttribute(Qt::WA_DeleteOnClose);
|
debugTaskDialog->setAttribute(Qt::WA_DeleteOnClose);
|
||||||
debugTaskDialog->setDesc(tr("Stopping debug session..."));
|
debugTaskDialog->setDesc(tr("Stopping debug session..."));
|
||||||
|
Loading…
Reference in New Issue
Block a user