summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-09-07 07:58:34 -0400
committerPeter LaFosse <peter@vector35.com>2021-09-07 08:23:21 -0400
commit11b8e1dffc4037d5777e8fdca9903a846368d83d (patch)
treedb62599a96dda91dcf133384931fed9961d34f16 /python/highlevelil.py
parenta97a9b63b62a19752882d8082d0a75b7684d0339 (diff)
Improve typehints in highlevelil.py
Diffstat (limited to 'python/highlevelil.py')
-rw-r--r--python/highlevelil.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py
index 570df465..5ec4f1bf 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -400,11 +400,11 @@ class HighLevelILInstruction:
return self.core_instr.address
@property
- def source_operand(self) -> int:
- return self.core_instr.source_operand
+ def source_operand(self) -> ExpressionIndex:
+ return ExpressionIndex(self.core_instr.source_operand)
@property
- def core_operands(self) -> Any:
+ def core_operands(self) -> OperandsType:
return self.core_instr.operands
@property