Find an in-body call by its raw callee text; returns the call or NULL. */
| 2730 | |
| 2731 | /* Find an in-body call by its raw callee text; returns the call or NULL. */ |
| 2732 | static const CBMCall *find_call_by_callee(CBMFileResult *r, const char *callee) { |
| 2733 | for (int i = 0; i < r->calls.count; i++) { |
| 2734 | if (r->calls.items[i].callee_name && strcmp(r->calls.items[i].callee_name, callee) == 0) { |
| 2735 | return &r->calls.items[i]; |
| 2736 | } |
| 2737 | } |
| 2738 | return NULL; |
| 2739 | } |
| 2740 | |
| 2741 | /* Reproduce-first: Java module QN must derive from the CONTAINING DIRECTORY, not |
| 2742 | * the filename stem, so a top-level class `Outer` in `Outer.java` is `t.Outer`, |