Use cmdRaw and cmdRawAt in XrefsDialog

This commit is contained in:
itayc0hen 2020-03-20 20:12:47 +02:00 committed by Itay Cohen
parent 647978260a
commit a47dcb26f9

View File

@ -123,6 +123,7 @@ void XrefsDialog::updatePreview(RVA addr)
tempConfig.set("asm.lines", false);
tempConfig.set("asm.bytes", false);
// Use cmd because cmRaw cannot handle the output properly. Why?
QString disas = Core()->cmd("pd--20 @ " + QString::number(addr));
ui->previewTextEdit->document()->setHtml(disas);