| 19 | } |
| 20 | |
| 21 | static int find_resolved(const CBMFileResult *r, const char *callerSub, const char *calleeSub) { |
| 22 | for (int i = 0; i < r->resolved_calls.count; i++) { |
| 23 | const CBMResolvedCall *rc = &r->resolved_calls.items[i]; |
| 24 | if (rc->caller_qn && strstr(rc->caller_qn, callerSub) && rc->callee_qn && |
| 25 | strstr(rc->callee_qn, calleeSub)) |
| 26 | return i; |
| 27 | } |
| 28 | return -1; |
| 29 | } |
| 30 | |
| 31 | /* Avoid unused-static-function warnings: helpers compiled but not yet used |
| 32 | * outside the smoke tests will be referenced in Phase 3+ tests. */ |
no outgoing calls
no test coverage detected