| 46 | } |
| 47 | |
| 48 | const Function *IndCallSolverMgr::getCalledFunction(const CallBase &CB) const { |
| 49 | auto Result = getCalledFunctions(CB); |
| 50 | if (Result.size() == 0) |
| 51 | return nullptr; |
| 52 | |
| 53 | return *Result.begin(); |
| 54 | } |
| 55 | |
| 56 | std::set<const Function *> |
| 57 | IndCallSolverMgr::getCalledFunctions(const CallBase &CB) const { |