mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-23 13:25:27 +00:00
Use disasm from agj in Graph (Fix #233)
This commit is contained in:
parent
8cf623c1ab
commit
92d6f597e8
@ -159,7 +159,7 @@ void DisassemblerGraphView::loadCurrentGraph()
|
|||||||
// Skip last byte, otherwise it will overlap with next instruction
|
// Skip last byte, otherwise it will overlap with next instruction
|
||||||
i.size = op["size"].toVariant().toULongLong() - 1;
|
i.size = op["size"].toVariant().toULongLong() - 1;
|
||||||
RichTextPainter::List richText;
|
RichTextPainter::List richText;
|
||||||
Colors::colorizeAssembly(richText, op["opcode"].toString(), op["type_num"].toVariant().toULongLong());
|
Colors::colorizeAssembly(richText, op["disasm"].toString(), op["type_num"].toVariant().toULongLong());
|
||||||
if (op["comment"].toString().length()) {
|
if (op["comment"].toString().length()) {
|
||||||
RichTextPainter::CustomRichText_t comment;
|
RichTextPainter::CustomRichText_t comment;
|
||||||
comment.text = QString(" ; %1").arg(QByteArray::fromBase64(op["comment"].toString().toLocal8Bit()).data());
|
comment.text = QString(" ; %1").arg(QByteArray::fromBase64(op["comment"].toString().toLocal8Bit()).data());
|
||||||
|
Loading…
Reference in New Issue
Block a user