DBG: GetFunctionGraph in RecursiveAnalysis
This commit is contained in:
parent
53f4a73b84
commit
dfd8909f73
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue