summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2021-10-19 14:20:15 -0400
committerGlenn Smith <glenn@vector35.com>2021-10-19 14:20:15 -0400
commit19e2959d42898056363567fe7c068acf4686e844 (patch)
treebe54341a8c5ffc8cf8037e8f0056b6db248ae80b /python
parent62fd2f7e82a05073509f65f2381a1028d1440cd9 (diff)
More accurate description of operand argument
Diffstat (limited to 'python')
-rw-r--r--python/function.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/function.py b/python/function.py
index 9781bac1..3803930e 100644
--- a/python/function.py
+++ b/python/function.py
@@ -2342,8 +2342,8 @@ class Function:
"""
Get the current text display type for an integer token in the disassembly or IL views
:param int instr_addr: Address of the instruction or IL line containing the token
- :param int value: ``value`` field of the InstructionTextToken object for the token
- :param int operand: ``operand`` field of the InstructionTextToken object for the token
+ :param int value: ``value`` field of the InstructionTextToken object for the token, usually the constant displayed
+ :param int operand: Operand index of the token, defined as the number of OperandSeparatorTokens in the disassembly line before the token
:param Architecture arch: (optional) Architecture of the instruction or IL line containing the token
"""
if arch is None:
@@ -2356,8 +2356,8 @@ class Function:
"""
Change the text display type for an integer token in the disassembly or IL views
:param int instr_addr: Address of the instruction or IL line containing the token
- :param int value: ``value`` field of the InstructionTextToken object for the token
- :param int operand: ``operand`` field of the InstructionTextToken object for the token
+ :param int value: ``value`` field of the InstructionTextToken object for the token, usually the constant displayed
+ :param int operand: Operand index of the token, defined as the number of OperandSeparatorTokens in the disassembly line before the token
:param enums.IntegerDisplayType display_type: Desired display type
:param Architecture arch: (optional) Architecture of the instruction or IL line containing the token
"""