| 21 | #include <string.h> |
| 22 | |
| 23 | static bool ends_with(const char *text, const char *suffix) { |
| 24 | if (!text || !suffix) |
| 25 | return false; |
| 26 | size_t text_len = strlen(text); |
| 27 | size_t suffix_len = strlen(suffix); |
| 28 | return suffix_len <= text_len && strcmp(text + text_len - suffix_len, suffix) == 0; |
| 29 | } |
| 30 | |
| 31 | static void print_resolved_calls(const CBMResolvedCallArray *calls) { |
| 32 | if (!calls) |
no outgoing calls
no test coverage detected