diff --git a/include/inc-cfg/domgraph.hpp b/include/inc-cfg/domgraph.hpp index 98b517f4e80ee5be4ee2167e0432836a8870004a..378d6c73508a25d0fe8f6cc41172211ff97d52c2 100644 --- a/include/inc-cfg/domgraph.hpp +++ b/include/inc-cfg/domgraph.hpp @@ -20,8 +20,11 @@ namespace IRDB_SDK using namespace std; - using DominatorMap_t = map<const BasicBlock_t*, BasicBlockSet_t>; - using BlockToBlockMap_t = map<const BasicBlock_t*, const BasicBlock_t*>; + using DominatorMap_t = map<const BasicBlock_t*, BasicBlockSet_t>; + using BlockToBlockMap_t = map<const BasicBlock_t*, const BasicBlock_t*>; + using BasicBlockVector_t = vector<BasicBlock_t*>; + + BasicBlockVector_t getDFSOrder(ControlFlowGraph_t* cfg); class DominatorGraph_t {