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

Function _get_current_sections

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

Source from the content-addressed store, hash-verified

1666
1667
1668def _get_current_sections(instance: PythonScriptingInstance):
1669 if instance.interpreter.active_view is None:
1670 return []
1671 return instance.interpreter.active_view.get_sections_at(instance.interpreter.active_addr)
1672
1673
1674PythonScriptingProvider.register_magic_variable("current_sections", _get_current_sections)

Callers

nothing calls this directly

Calls 1

get_sections_atMethod · 0.80

Tested by

no test coverage detected