summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/highlevelil.py6
-rw-r--r--python/lowlevelil.py6
-rw-r--r--python/mediumlevelil.py6
3 files changed, 15 insertions, 3 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py
index 8a400c1e..1d7feb71 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -778,7 +778,11 @@ class HighLevelILInstruction(BaseILInstruction):
@property
def operands(self) -> List[HighLevelILOperandType]:
- """Operands for the instruction"""
+ """
+ Operands for the instruction
+
+ Consider using more specific APIs for ``src``, ``dest``, ``params``, etc where appropriate.
+ """
return list(map(lambda x: x[1], self.detailed_operands))
@property
diff --git a/python/lowlevelil.py b/python/lowlevelil.py
index 3cd4e7cc..dbb9f154 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -699,7 +699,11 @@ class LowLevelILInstruction(BaseILInstruction):
@property
def operands(self) -> List[LowLevelILOperandType]:
- """Operands for the instruction"""
+ """
+ Operands for the instruction
+
+ Consider using more specific APIs for ``src``, ``dest``, ``params``, etc where appropriate.
+ """
return list(map(lambda x: x[1], self.detailed_operands))
@property
diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py
index fc9ba398..267076db 100644
--- a/python/mediumlevelil.py
+++ b/python/mediumlevelil.py
@@ -447,7 +447,11 @@ class MediumLevelILInstruction(BaseILInstruction):
@property
def operands(self) -> List[MediumLevelILOperandType]:
- """Operands for the instruction"""
+ """
+ Operands for the instruction
+
+ Consider using more specific APIs for ``src``, ``dest``, ``params``, etc where appropriate.
+ """
return list(map(lambda x: x[1], self.detailed_operands))
@property