summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Rowe <mark@vector35.com>2026-05-07 09:25:06 -0700
committerMark Rowe <mark@vector35.com>2026-05-11 18:34:06 -0700
commit8516ebe292a52e5da28fcc57137308cea46192b2 (patch)
tree7b93257ad31858ddec44e0febca93f370e0c2547
parent82f6cd81d2cc09abf4a3ad30e2ce4404ced050a3 (diff)
Fix LowLevelILFunction::AddOverflow
It now stores its operands in the correct fields of the expression. Fixes https://github.com/Vector35/binaryninja-api/issues/8149.
-rw-r--r--lowlevelilinstruction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lowlevelilinstruction.cpp b/lowlevelilinstruction.cpp
index ba26b82e..3b92d310 100644
--- a/lowlevelilinstruction.cpp
+++ b/lowlevelilinstruction.cpp
@@ -3541,7 +3541,7 @@ ExprId LowLevelILFunction::BoolToInt(size_t size, ExprId a, const ILSourceLocati
ExprId LowLevelILFunction::AddOverflow(size_t size, ExprId left, ExprId right, const ILSourceLocation& loc)
{
- return AddExprWithLocation(LLIL_ADD_OVERFLOW, loc, size, left, right);
+ return AddExprWithLocation(LLIL_ADD_OVERFLOW, loc, size, 0, left, right);
}
ExprId LowLevelILFunction::SystemCall(const ILSourceLocation& loc)