summaryrefslogtreecommitdiff
path: root/python/lowlevelil.py
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2025-03-27 15:39:37 -0400
committerGlenn Smith <glenn@vector35.com>2025-03-27 15:40:05 -0400
commit6679864242329639194911318737108625989530 (patch)
tree3611cfd814962b9c3c0c568e09212543a3dd6aab /python/lowlevelil.py
parent180a554d7efd100ff9138d097ba11018fcbf0dea (diff)
Python: Fix a couple typoes in the IL builders
Diffstat (limited to 'python/lowlevelil.py')
-rw-r--r--python/lowlevelil.py4
1 files changed, 2 insertions, 2 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,