Check a collection of symbols for disallowed prefixes.
(cxxfilt: str, symbols: Iterable[Symbol])
| 162 | |
| 163 | |
| 164 | def check_disallowed_symbols(cxxfilt: str, symbols: Iterable[Symbol]) -> None: |
| 165 | """Check a collection of symbols for disallowed prefixes.""" |
| 166 | for symbol in symbols: |
| 167 | assert len(symbol.demangled) > 0 |
| 168 | if symbol.demangled.startswith(tuple(DISALLOW_LIST)): |
| 169 | symbol.disallowed = True |
| 170 | |
| 171 | |
| 172 | def get_cached_symbols(nm: str, build_root: Path) -> Dict[str, Symbol]: |
no outgoing calls
no test coverage detected