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

Method set_name_async

python/variable.py:904–911  ·  view source on GitHub ↗

``set_name_async`` provides a way to asynchronously set the name of a variable. This method should be used when speed is of concern.

(self, name: Optional[str])

Source from the content-addressed store, hash-verified

902 return self._il_function
903
904 def set_name_async(self, name: Optional[str]) -> None:
905 """
906 ``set_name_async`` provides a way to asynchronously set the name of a variable. This method should be used
907 when speed is of concern.
908 """
909 if name is None:
910 name = ""
911 self._function.create_user_var(self, self.type, name)
912
913 def set_type_async(self, new_type: 'binaryninja.types.Type') -> None:
914 """

Callers 1

nameMethod · 0.95

Calls 1

create_user_varMethod · 0.45

Tested by

no test coverage detected