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

Method _python_bin

python/scriptingprovider.py:1065–1070  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1063
1064 @property
1065 def _python_bin(self) -> Optional[str]:
1066 python_lib = settings.Settings().get_string("python.interpreter")
1067 python_bin_override = settings.Settings().get_string("python.binaryOverride")
1068 python_env = self._get_python_environment(using_bundled_python=not python_lib)
1069 python_bin, status = self._get_executable_for_libpython(python_lib, python_bin_override, python_env=python_env)
1070 return python_bin
1071
1072 def _load_module(self, ctx, _repo_path: bytes, _module: bytes, force: bool):
1073 repo_path = _repo_path.decode("utf-8")

Callers

nothing calls this directly

Calls 4

get_stringMethod · 0.45
SettingsMethod · 0.45

Tested by

no test coverage detected