From fa2350dfb6aef289c5f2899b83016d3151385dbf Mon Sep 17 00:00:00 2001 From: itayc0hen Date: Fri, 20 Mar 2020 20:13:52 +0200 Subject: [PATCH] Use cmdRaw and cmdRawAt in DisassemblerGraphView --- src/widgets/DisassemblerGraphView.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/widgets/DisassemblerGraphView.cpp b/src/widgets/DisassemblerGraphView.cpp index d44e5e94..3b6c7510 100644 --- a/src/widgets/DisassemblerGraphView.cpp +++ b/src/widgets/DisassemblerGraphView.cpp @@ -1177,7 +1177,7 @@ void DisassemblerGraphView::exportGraph(QString filePath, GraphExportType type) return; } 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; @@ -1206,8 +1206,9 @@ void DisassemblerGraphView::exportR2GraphvizGraph(QString filePath, QString type { TempConfig tempConfig; tempConfig.set("graph.gv.format", type); - qWarning() << Core()->cmdRaw(QString("agfw \"%1\" @ 0x%2") - .arg(filePath).arg(currentFcnAddr, 0, 16)); + qWarning() << Core()->cmdRawAt(QString("agfw \"%1\"") + .arg(filePath), + currentFcnAddr); } void DisassemblerGraphView::mousePressEvent(QMouseEvent *event)