mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 03:46:11 +00:00
Enable asm.flags in emulation
This commit is contained in:
parent
ad9d3ccb5f
commit
0562c377fb
@ -907,7 +907,7 @@ void CutterCore::startEmulation()
|
|||||||
emit registersChanged();
|
emit registersChanged();
|
||||||
if (!currentlyDebugging || !currentlyEmulating) {
|
if (!currentlyDebugging || !currentlyEmulating) {
|
||||||
// prevent register flags from appearing during debug/emul
|
// prevent register flags from appearing during debug/emul
|
||||||
setConfig("asm.flags", false);
|
// setConfig("asm.flags", false);
|
||||||
// allows to view self-modifying code changes or other binary changes
|
// allows to view self-modifying code changes or other binary changes
|
||||||
setConfig("io.cache", true);
|
setConfig("io.cache", true);
|
||||||
currentlyDebugging = true;
|
currentlyDebugging = true;
|
||||||
@ -977,10 +977,10 @@ void CutterCore::continueDebug()
|
|||||||
void CutterCore::continueUntilDebug(QString offset)
|
void CutterCore::continueUntilDebug(QString offset)
|
||||||
{
|
{
|
||||||
if (currentlyDebugging) {
|
if (currentlyDebugging) {
|
||||||
if (!currentlyEmulating) {
|
if (currentlyEmulating) {
|
||||||
cmd("dcu " + offset);
|
|
||||||
} else {
|
|
||||||
cmdEsil("aecu " + offset);
|
cmdEsil("aecu " + offset);
|
||||||
|
} else {
|
||||||
|
cmd("dcu " + offset);
|
||||||
}
|
}
|
||||||
emit registersChanged();
|
emit registersChanged();
|
||||||
emit refreshCodeViews();
|
emit refreshCodeViews();
|
||||||
|
Loading…
Reference in New Issue
Block a user