- // CFG
- CFGScene * scene = new CFGScene;
- InformationManager* manager = function->getManager();
-
- BasicBlock * block = manager->getBasicBlock(function->getStartAddress());
- LOG4CXX_DEBUG(logger, "Building widget for functionction " << function->getName());
- for (auto i : function->blocks()) {
- LOG4CXX_DEBUG(logger, "Functionction contains Block " << i.second->getName());
- }
-
- uint64_t start_address(std::numeric_limits<uint64_t>::max());
- for (auto b : function->blocks()) {
- if (b.first < start_address)
- start_address = b.first;
- }