summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMalware Utkonos <utkonos@malwarolo.gy>2025-05-06 11:23:28 -0400
committerJordan <github@psifertex.com>2025-05-07 08:35:33 +0800
commit17ac386193ea105dec3c1161943fd7da6563b95c (patch)
treebedd054935a43460cbf532460014673f39dc2e84 /python
parentd7e587991b96457d3887c136799ecb906f1336f4 (diff)
Correct typos in Function.add_tag docs. Fixes #6796
Diffstat (limited to 'python')
-rw-r--r--python/function.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/python/function.py b/python/function.py
index be669002..ec2fbab8 100644
--- a/python/function.py
+++ b/python/function.py
@@ -834,12 +834,13 @@ class Function:
Function.add_tag, you'll create an "address tag". These are good for labeling
specific instructions.
- For tagging arbitrary data, consider :py:func:`~binaryninja.binaryview.add_tag`.
+ For tagging arbitrary data, consider :py:func:`~binaryninja.binaryview.BinaryView.add_tag`.
- :param str tag_type_name: The name of the tag type for this Tag
+ :param str tag_type: The name of the tag type for this Tag
:param str data: additional data for the Tag
:param int addr: address at which to add the tag
- :param bool user: Whether or not a user tag
+ :param bool auto: Whether or not an auto tag
+ :param Architecture arch: Architecture for the block in which the Tag is added (optional)
:Example:
>>> current_function.add_tag("Important", "I think this is the main function")