Dict of symbols (read-only) Items in the dict are lists of all symbols matching that name. :Example: >>> bv.symbols['_main'] [ ] >>> list(bv.symbols) ['_start', '_main', '_printf', '_scanf', ...] >>> bv.symbols['foo'] KeyError: "'foo': symb
(self)
| 3258 | |
| 3259 | @property |
| 3260 | def symbols(self) -> SymbolMapping: |
| 3261 | """ |
| 3262 | Dict of symbols (read-only) |
| 3263 | Items in the dict are lists of all symbols matching that name. |
| 3264 | |
| 3265 | :Example: |
| 3266 | |
| 3267 | >>> bv.symbols['_main'] |
| 3268 | [<FunctionSymbol: "_main" @ 0x1dd0>] |
| 3269 | >>> list(bv.symbols) |
| 3270 | ['_start', '_main', '_printf', '_scanf', ...] |
| 3271 | >>> bv.symbols['foo'] |
| 3272 | KeyError: "'foo': symbol not found" |
| 3273 | |
| 3274 | :return: a dict-like generator of symbol names and values |
| 3275 | :rtype: Generator[str, None, None] |
| 3276 | """ |
| 3277 | return SymbolMapping(self) |
| 3278 | |
| 3279 | @staticmethod |
| 3280 | def internal_namespace() -> '_types.NameSpace': |
no test coverage detected