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

Function _get_current_il_expr

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

Source from the content-addressed store, hash-verified

1887
1888
1889def _get_current_il_expr(instance: PythonScriptingInstance):
1890 if instance.interpreter.locals["current_il_function"] is not None \
1891 and instance.interpreter.locals["current_il_expr_index"] is not None:
1892 return instance.interpreter.locals["current_il_function"].get_expr(
1893 instance.interpreter.locals["current_il_expr_index"]
1894 )
1895 return None
1896
1897
1898PythonScriptingProvider.register_magic_variable(

Callers

nothing calls this directly

Calls 1

get_exprMethod · 0.45

Tested by

no test coverage detected