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

Function _get_current_symbol

python/scriptingprovider.py:1641–1644  ·  view source on GitHub ↗
(instance: PythonScriptingInstance)

Source from the content-addressed store, hash-verified

1639
1640
1641def _get_current_symbol(instance: PythonScriptingInstance):
1642 if instance.interpreter.active_view is None:
1643 return None
1644 return instance.interpreter.active_view.get_symbol_at(instance.interpreter.active_addr)
1645
1646
1647PythonScriptingProvider.register_magic_variable("current_symbol", _get_current_symbol)

Callers

nothing calls this directly

Calls 1

get_symbol_atMethod · 0.45

Tested by

no test coverage detected