widget->moveBy(100*startx, 10*(block->getStartAddress() - starty));
dis->printEachInstruction(block->getStartAddress(), block->getEndAddress(),
- [&](const std::string& line) {
- widget->addItem(line.c_str());
+ [&](uint8_t* bytes, size_t byte_count, const std::string& line) {
+ widget->addItem(bytes, byte_count, line.c_str() + 1);
});
if (block->getNextBlock(0) != 0)