We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b358d8 commit 202b403Copy full SHA for 202b403
src/fasm.cpp
@@ -70,7 +70,6 @@ void Fasm::loadCapstone() {
70
cs_option(cs, CS_OPT_SKIPDATA, CS_OPT_ON);
71
cs_option(cs, CS_OPT_SKIPDATA_SETUP, (size_t)&skipdata);
72
QByteArray bytes = QByteArray::fromHex(this->textOpcodes->toPlainText().toUtf8());
73
- char *t = bytes.data();
74
count = cs_disasm(cs, reinterpret_cast<uint8_t*>(QByteArray::fromHex(this->textOpcodes->toPlainText().toUtf8()).data()), bytes.size(), 0, 0, &insn);
75
if (count > 0) {
76
this->statusbar->setText("Disassembled " + QString::number(count) + " instructions");
0 commit comments