mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 03:46:11 +00:00
Use cmdRaw and cmdRawAt in DisassemblerGraphView
This commit is contained in:
parent
4f01d54443
commit
fa2350dfb6
@ -1177,7 +1177,7 @@ void DisassemblerGraphView::exportGraph(QString filePath, GraphExportType type)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
QTextStream fileOut(&file);
|
QTextStream fileOut(&file);
|
||||||
fileOut << Core()->cmd(QString("agfd 0x%1").arg(currentFcnAddr, 0, 16));
|
fileOut << Core()->cmdRaw(QString("agfd 0x%1").arg(currentFcnAddr, 0, 16));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -1206,8 +1206,9 @@ void DisassemblerGraphView::exportR2GraphvizGraph(QString filePath, QString type
|
|||||||
{
|
{
|
||||||
TempConfig tempConfig;
|
TempConfig tempConfig;
|
||||||
tempConfig.set("graph.gv.format", type);
|
tempConfig.set("graph.gv.format", type);
|
||||||
qWarning() << Core()->cmdRaw(QString("agfw \"%1\" @ 0x%2")
|
qWarning() << Core()->cmdRawAt(QString("agfw \"%1\"")
|
||||||
.arg(filePath).arg(currentFcnAddr, 0, 16));
|
.arg(filePath),
|
||||||
|
currentFcnAddr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DisassemblerGraphView::mousePressEvent(QMouseEvent *event)
|
void DisassemblerGraphView::mousePressEvent(QMouseEvent *event)
|
||||||
|
Loading…
Reference in New Issue
Block a user