(self, lines)
| 978 | return re.sub(r'\b0x[0-9A-Fa-f]+\b', '0x...', text) |
| 979 | |
| 980 | def assert_exception_table_increasing(self, lines): |
| 981 | prev_start, prev_end = -1, -1 |
| 982 | count = 0 |
| 983 | for line in lines: |
| 984 | m = re.match(r' L(\d+) to L(\d+) -> L\d+ \[\d+\]', line) |
| 985 | start, end = [int(g) for g in m.groups()] |
| 986 | self.assertGreaterEqual(end, start) |
| 987 | self.assertGreaterEqual(start, prev_end) |
| 988 | prev_start, prev_end = start, end |
| 989 | count += 1 |
| 990 | return count |
| 991 | |
| 992 | def do_disassembly_compare(self, got, expected): |
| 993 | if got != expected: |
nothing calls this directly
no test coverage detected