diff options
| -rw-r--r-- | python/lowlevelil.py | 4 | ||||
| -rw-r--r-- | python/mediumlevelil.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py index f37e53a2..5ea25d29 100644 --- a/python/lowlevelil.py +++ b/python/lowlevelil.py @@ -4027,7 +4027,7 @@ class LowLevelILFunction: return dest.extern_pointer(expr.size, expr.constant, expr.offset, loc) if expr.operation == LowLevelILOperation.LLIL_FLOAT_CONST: expr: LowLevelILFloatConst - return dest.float_const_raw(expr.size, expr.constant, loc) + return dest.float_const_raw(expr.size, expr.instr.operands[0], loc) if expr.operation in [ LowLevelILOperation.LLIL_POP, LowLevelILOperation.LLIL_NORET, @@ -4036,7 +4036,7 @@ class LowLevelILFunction: LowLevelILOperation.LLIL_UNDEF, LowLevelILOperation.LLIL_UNIMPL ]: - expr:Y + expr: LowLevelILInstruction return dest.expr(expr.operation, size=expr.size, flags=expr.flags, source_location=loc) if expr.operation in [ LowLevelILOperation.LLIL_PUSH, diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py index 6bcf9807..4dbe43e3 100644 --- a/python/mediumlevelil.py +++ b/python/mediumlevelil.py @@ -5210,7 +5210,7 @@ class MediumLevelILFunction: return ExpressionIndex(core.BNMediumLevelILGoto(self.handle, label.handle)) def if_expr( - self, operand: ExpressionIndex, t: MediumLevelILLabel, f: MediumLevelILLabel, label: MediumLevelILLabel, + self, operand: ExpressionIndex, t: MediumLevelILLabel, f: MediumLevelILLabel, loc: Optional['ILSourceLocation'] = None ) -> ExpressionIndex: """ |
