| 1174 | } |
| 1175 | |
| 1176 | static int has_call_named(const CBMFileResult *r, const char *name) { |
| 1177 | for (int i = 0; i < r->calls.count; i++) { |
| 1178 | if (r->calls.items[i].callee_name && strstr(r->calls.items[i].callee_name, name)) { |
| 1179 | return 1; |
| 1180 | } |
| 1181 | } |
| 1182 | return 0; |
| 1183 | } |
| 1184 | |
| 1185 | typedef struct { |
| 1186 | const char *name; |