| 20 | } |
| 21 | |
| 22 | static int find_resolved(const CBMFileResult *r, const char *callerSub, const char *calleeSub) { |
| 23 | for (int i = 0; i < r->resolved_calls.count; i++) { |
| 24 | const CBMResolvedCall *rc = &r->resolved_calls.items[i]; |
| 25 | if (rc->caller_qn && strstr(rc->caller_qn, callerSub) && rc->callee_qn && |
| 26 | strstr(rc->callee_qn, calleeSub)) |
| 27 | return i; |
| 28 | } |
| 29 | return -1; |
| 30 | } |
| 31 | |
| 32 | __attribute__((unused)) |
| 33 | static int require_resolved(const CBMFileResult *r, const char *callerSub, const char *calleeSub) { |
no outgoing calls
no test coverage detected