From 572daab8413345d8e6b610b3d3afd0231b047699 Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Thu, 7 May 2026 09:25:06 -0700 Subject: [PATCH] Fix LowLevelILFunction::AddOverflow It now stores its operands in the correct fields of the expression. Fixes https://github.com/Vector35/binaryninja-api/issues/8149. --- lowlevelilinstruction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lowlevelilinstruction.cpp b/lowlevelilinstruction.cpp index ba26b82e0f..3b92d31004 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)