Use cmdRaw and cmdRawAt in EditVariablesDialog

This commit is contained in:
itayc0hen 2020-03-20 20:12:22 +02:00 committed by Itay Cohen
parent 07a5b4a748
commit 932318b407

View File

@ -15,7 +15,7 @@ EditVariablesDialog::EditVariablesDialog(RVA offset, QString initialVar, QWidget
connect(ui->buttonBox, SIGNAL(accepted()), this, SLOT(applyFields()));
connect(ui->dropdownLocalVars, SIGNAL(currentIndexChanged(int)), SLOT(updateFields()));
QString fcnName = Core()->cmd(QString("afn @ %1").arg(offset)).trimmed();
QString fcnName = Core()->cmdRawAt("afn.", offset).trimmed();
setWindowTitle(tr("Set Variable Types for Function: %1").arg(fcnName));
variables = Core()->getVariables(offset);