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

Method __next__

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

Source from the content-addressed store, hash-verified

2142 yield _function.Function(self._view, core.BNNewFunctionReference(self._funcs[i]))
2143
2144 def __next__(self):
2145 if self._n >= len(self):
2146 raise StopIteration
2147 func = core.BNNewFunctionReference(self._funcs[self._n])
2148 assert func is not None, "core.BNNewFunctionReference returned None"
2149 self._n += 1
2150 return _function.Function(self._view, func)
2151
2152 @overload
2153 def __getitem__(self, i: int) -> '_function.Function': ...

Callers

nothing calls this directly

Calls 1

FunctionMethod · 0.80

Tested by

no test coverage detected