| 1759 | } |
| 1760 | |
| 1761 | static uint32_t module_end_line(const CBMFileResult *r) { |
| 1762 | for (int i = 0; i < r->defs.count; i++) { |
| 1763 | if (r->defs.items[i].label && strcmp(r->defs.items[i].label, "Module") == 0) { |
| 1764 | return r->defs.items[i].end_line; |
| 1765 | } |
| 1766 | } |
| 1767 | return 0; |
| 1768 | } |
| 1769 | |
| 1770 | static char *extract_dump(const char *src, CBMLanguage lang, const char *path, |
| 1771 | uint32_t *module_end) { |