From: Christoph Egger Date: Tue, 10 Mar 2015 11:28:19 +0000 (+0100) Subject: Display blocks when appearing in different functions X-Git-Tag: v0.1~62 X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=e22964dd6b7b93601ca8f504cf8a07e98c165e98;p=frida%2Ffrida.git Display blocks when appearing in different functions If some block is part of multiple functions now include it in all the functions and not only in the first one --- diff --git a/src/gui/Mainwindow.cxx b/src/gui/Mainwindow.cxx index 654dc16..ce16476 100644 --- a/src/gui/Mainwindow.cxx +++ b/src/gui/Mainwindow.cxx @@ -245,8 +245,9 @@ void Mainwindow::addFunction(Function* fun) { start_address = b.first; } + std::map _blocks; local__add_basic_block(block, this, - manager, blocks, scene, start_address, 100); + manager, _blocks, scene, start_address, 100); QGraphicsView * view = new QGraphicsView(scene); w->addTab(view, "CFG");