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

Method name

python/variable.py:807–809  ·  view source on GitHub ↗

Name of the variable, Settings this property is slow because it ensures that analysis has been updated. If you are renaming many variables, use :py:meth:`set_name_async`, then call :py:meth:`update_analysis` when complete.

(self)

Source from the content-addressed store, hash-verified

805
806 @property
807 def name(self) -> str:
808 """Name of the variable, Settings this property is slow because it ensures that analysis has been updated. If you are renaming many variables, use :py:meth:`set_name_async`, then call :py:meth:`update_analysis` when complete."""
809 return core.BNGetVariableNameOrDefault(self._function.handle, self.to_BNVariable())
810
811 @name.setter
812 def name(self, name: Optional[str]) -> None:

Callers

nothing calls this directly

Calls 3

set_name_asyncMethod · 0.95
to_BNVariableMethod · 0.80

Tested by

no test coverage detected