(module)
| 49 | |
| 50 | |
| 51 | def get_codesec_offset(module): |
| 52 | sec = module.get_section(webassembly.SecType.CODE) |
| 53 | if not sec: |
| 54 | raise Error(f'No code section found in {module.filename}') |
| 55 | return sec.offset |
| 56 | |
| 57 | |
| 58 | def has_debug_line_section(module): |
no test coverage detected