diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2019-09-30 17:55:29 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2019-09-30 17:55:29 -0400 |
| commit | aca9e5518abb6e298de9f85a3cda551569c6ca74 (patch) | |
| tree | 576c978a457cd46c1c0892fb15233be5342449df /python | |
| parent | ab5327e541c7a335ce89fbdb63126e1222346542 (diff) | |
missed two functions for tags documentation
Diffstat (limited to 'python')
| -rw-r--r-- | python/function.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/python/function.py b/python/function.py index 114790ca..b99d7da0 100644 --- a/python/function.py +++ b/python/function.py @@ -940,7 +940,9 @@ class Function(object): def create_tag(self, type, data, user=True): """ - ``create_tag`` creates a new Tag object but does not add it anywhere + ``create_tag`` creates a new Tag object but does not add it anywhere. + Use :py:meth:`create_user_address_tag` or + :py:meth:`create_user_function_tag` to create and add in one step. :param TagType type: The Tag Type for this Tag :param str data: Additional data for the Tag @@ -1008,8 +1010,10 @@ class Function(object): def create_user_address_tag(self, addr, type, data, unique=False, arch=None): """ - ``create_user_address_tag`` creates and adds a Tag object at a given address. - Since this adds a user tag, it will be added to the current undo buffer. + ``create_user_address_tag`` creates and adds a Tag object at a given + address. Since this adds a user tag, it will be added to the current + undo buffer. To create tags associated with an address that is not + inside of a function, use :py:meth:`create_user_data_tag <binaryninja.binaryview.BinaryView.create_user_data_tag>`. :param int addr: Address at which to add the tag :param TagType type: Tag Type for the Tag that is created |
