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

Method define_auto_symbol

python/binaryview.py:6264–6274  ·  view source on GitHub ↗

``define_auto_symbol`` adds a symbol to the internal list of automatically discovered Symbol objects in a given namespace. .. warning:: If multiple symbols for the same address are defined, only the most recent symbol will ever be used. :param sym: the symbol to define :rtype: None

(self, sym: '_types.CoreSymbol')

Source from the content-addressed store, hash-verified

6262 core.BNFreeSymbolList(syms, count.value)
6263
6264 def define_auto_symbol(self, sym: '_types.CoreSymbol') -> None:
6265 """
6266 ``define_auto_symbol`` adds a symbol to the internal list of automatically discovered Symbol objects in a given
6267 namespace.
6268
6269 .. warning:: If multiple symbols for the same address are defined, only the most recent symbol will ever be used.
6270
6271 :param sym: the symbol to define
6272 :rtype: None
6273 """
6274 core.BNDefineAutoSymbol(self.handle, sym.handle)
6275
6276 def define_auto_symbol_and_var_or_function(
6277 self, sym: '_types.CoreSymbol', type: '_types.Type', plat: Optional['_platform.Platform'] = None

Callers 5

define_data_varMethod · 0.95
initMethod · 0.45
initMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected