- void forEachInstruction(const std::string& name,
- std::function<void (long, std::string, std::string)> callback)
- {}
-
- BasicBlock * generateControlFlowGraph(const std::string& name);
- BasicBlock * generateControlFlowGraph(uint64_t address);
+ void forEachFunction(std::function<void (uint64_t, Function*)> callback);
+ BasicBlock * getBasicBlock(uint64_t address) {
+ return blocks[address];
+ }