summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/lowlevelil.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py
index 5942de6d..f8e8e419 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -2696,8 +2696,10 @@ class LowLevelILSetRegStackRelSsa(LowLevelILInstruction, RegisterStack, SSA):
@dataclass(frozen=True, repr=False, eq=False)
class LowLevelILCallSsa(LowLevelILInstruction, Localcall, SSA):
@property
- def output(self) -> LowLevelILInstruction:
- return self._get_expr(0)
+ def output(self) -> List[SSARegister]:
+ inst = self._get_expr(0)
+ assert isinstance(inst, LowLevelILCallOutputSsa), "LowLevelILCallSsa return bad type for output"
+ return inst.dest
@property
def dest(self) -> LowLevelILInstruction: