(func)
| 529 | |
| 530 | |
| 531 | def also_with_asan(func): |
| 532 | assert callable(func) |
| 533 | |
| 534 | @wraps(func) |
| 535 | def metafunc(self, asan, *args, **kwargs): |
| 536 | if asan: |
| 537 | if self.is_wasm64(): |
| 538 | self.skipTest('TODO: ASAN in memory64') |
| 539 | if self.is_2gb() or self.is_4gb(): |
| 540 | self.skipTest('asan doesnt support GLOBAL_BASE') |
| 541 | self.cflags.append('-fsanitize=address') |
| 542 | return func(self, *args, **kwargs) |
| 543 | |
| 544 | parameterize(metafunc, {'': (False,), |
| 545 | 'asan': (True,)}) |
| 546 | return metafunc |
| 547 | |
| 548 | |
| 549 | def also_with_modularize(func): |
nothing calls this directly
no test coverage detected