Skip to content

Commit 8516ebe

Browse files
committed
Fix LowLevelILFunction::AddOverflow
It now stores its operands in the correct fields of the expression. Fixes #8149.
1 parent 82f6cd8 commit 8516ebe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lowlevelilinstruction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3541,7 +3541,7 @@ ExprId LowLevelILFunction::BoolToInt(size_t size, ExprId a, const ILSourceLocati
35413541

35423542
ExprId LowLevelILFunction::AddOverflow(size_t size, ExprId left, ExprId right, const ILSourceLocation& loc)
35433543
{
3544-
return AddExprWithLocation(LLIL_ADD_OVERFLOW, loc, size, left, right);
3544+
return AddExprWithLocation(LLIL_ADD_OVERFLOW, loc, size, 0, left, right);
35453545
}
35463546

35473547
ExprId LowLevelILFunction::SystemCall(const ILSourceLocation& loc)

0 commit comments

Comments
 (0)