diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-12-29 10:17:46 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-12-29 10:17:46 -0500 |
| commit | 5f486211a360b11f2c8f9891ffdf4deaa791b0f1 (patch) | |
| tree | 310dda4e0441e29fd6a5bf2422df75b2521ba3a6 /python | |
| parent | 1378f9605491ebddafae866180d23f89a11614a4 (diff) | |
Fixes Vector35/binaryninja-api#2789
Diffstat (limited to 'python')
| -rw-r--r-- | python/mediumlevelil.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py index 63d876e8..bb039cc7 100644 --- a/python/mediumlevelil.py +++ b/python/mediumlevelil.py @@ -2334,7 +2334,9 @@ class MediumLevelILTailcallUntypedSsa(MediumLevelILCallBase, Tailcall, SSA): @property def params(self) -> MediumLevelILInstruction: - return self._get_expr(2) + inst = self._get_expr(2) + assert isinstance(inst, MediumLevelILCallParamSsa), "MediumLevelILTailcallUntypedSsa return bad type for 'params'" + return inst.src @property def stack(self) -> MediumLevelILInstruction: |
