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

Method __next__

python/binaryview.py:1987–1994  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1985 yield from self._symbol_cache
1986
1987 def __next__(self) -> List['_types.CoreSymbol']:
1988 if self._symbol_cache is None:
1989 self._build_symbol_cache()
1990 assert self._symbol_cache is not None
1991 if self._keys is None:
1992 self._keys = list(self._symbol_cache.keys())
1993 self._n += 1
1994 return self._symbol_cache[self._keys[self._n - 1]]
1995
1996 def __len__(self):
1997 if self._symbol_cache is None:

Callers

nothing calls this directly

Calls 2

_build_symbol_cacheMethod · 0.95
keysMethod · 0.45

Tested by

no test coverage detected