From a47dcb26f9f9540cdc275963e368f29f659a1e4f Mon Sep 17 00:00:00 2001 From: itayc0hen Date: Fri, 20 Mar 2020 20:12:47 +0200 Subject: [PATCH] Use cmdRaw and cmdRawAt in XrefsDialog --- src/dialogs/XrefsDialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dialogs/XrefsDialog.cpp b/src/dialogs/XrefsDialog.cpp index c58dea1e..41a986e1 100644 --- a/src/dialogs/XrefsDialog.cpp +++ b/src/dialogs/XrefsDialog.cpp @@ -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);