| 39 | } |
| 40 | |
| 41 | bool notfound(IndCallSolverMgr &Solver, std::string FuncName, unsigned BIdx, |
| 42 | unsigned IIdx) { |
| 43 | auto *CB = llvm::dyn_cast_or_null<llvm::CallBase>( |
| 44 | IRAH->getInstruction(FuncName, BIdx, IIdx)); |
| 45 | if (!CB) |
| 46 | return false; |
| 47 | |
| 48 | auto Result = Solver.getCalledFunctions(*CB); |
| 49 | return Result.size() == 0; |
| 50 | } |
| 51 | }; |
| 52 | |
| 53 | TEST_F(TestIndCallSolverMgr, getCalledFunctionP) { |
nothing calls this directly
no test coverage detected