X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fgui%2FMainwindow.cxx;h=745fd3ed7c0dfb9f4d10046724a34f7d9b0597a6;hp=7d90820a9869436323f5236be1891843642affe5;hb=c641f9904bb1c96e173117142122bc636f446297;hpb=b111ca0e0961d2e5294d555a25e8f3cea7ff9785 diff --git a/src/gui/Mainwindow.cxx b/src/gui/Mainwindow.cxx index 7d90820..745fd3e 100644 --- a/src/gui/Mainwindow.cxx +++ b/src/gui/Mainwindow.cxx @@ -72,7 +72,8 @@ namespace { void local__add_basic_block(BasicBlock * block, Disassembler * dis, QGraphicsScene * scene, uint64_t starty, uint64_t startx) { std::stringstream s; - s << "BLOCK_" << std::hex << block->getStartAddress(); + s << "BLOCK_" << std::hex << block->getStartAddress() + << "_" << block->getEndAddress(); BasicBlockWidget * widget = new BasicBlockWidget(s.str().c_str()); scene->addItem(widget); widget->setFlag(QGraphicsItem::ItemIsMovable, true);