1
0
Fork 0

DBG: GetFunctionGraph in RecursiveAnalysis

This commit is contained in:
Mr. eXoDia 2016-07-16 19:40:32 +02:00
parent 53f4a73b84
commit dfd8909f73
1 changed files with 8 additions and 0 deletions

View File

@ -65,6 +65,14 @@ public:
return result;
}
const CFGraph* GetFunctionGraph(duint entry) const
{
for(const auto & function : mFunctions)
if(function.entryPoint == entry)
return &function;
return nullptr;
}
protected:
duint mEntryPoint;
std::vector<CFGraph> mFunctions;