MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / symbols

Method symbols

python/binaryview.py:3260–3277  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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':

Callers 2

parse_symbolsMethod · 0.45
create_section_readerFunction · 0.45

Calls 1

SymbolMappingClass · 0.85

Tested by

no test coverage detected