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

Method get_load_settings

python/binaryview.py:9855–9866  ·  view source on GitHub ↗

``get_load_settings`` retrieve a :py:class:`~binaryninja.settings.Settings` object which defines the load settings for the given :py:class:`BinaryViewType` ``type_name`` :param str type_name: the :py:class:`BinaryViewType` name :return: the load settings :rtype: :py:class:`~binaryninja.set

(self, type_name: str)

Source from the content-addressed store, hash-verified

9853 core.BNFreeStringList(names, count.value)
9854
9855 def get_load_settings(self, type_name: str) -> Optional[settings.Settings]:
9856 """
9857 ``get_load_settings`` retrieve a :py:class:`~binaryninja.settings.Settings` object which defines the load settings for the given :py:class:`BinaryViewType` ``type_name``
9858
9859 :param str type_name: the :py:class:`BinaryViewType` name
9860 :return: the load settings
9861 :rtype: :py:class:`~binaryninja.settings.Settings`, or ``None``
9862 """
9863 settings_handle = core.BNBinaryViewGetLoadSettings(self.handle, type_name)
9864 if settings_handle is None:
9865 return None
9866 return settings.Settings(handle=settings_handle)
9867
9868 def set_load_settings(self, type_name: str, settings: Optional[settings.Settings]) -> None:
9869 """

Callers 1

initMethod · 0.80

Calls 1

SettingsMethod · 0.45

Tested by

no test coverage detected