Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions miasm/expression/simplifications_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1147,8 +1147,8 @@ def simp_cmp_bijective_op(expr_simp, expr):
if not args_b:
return ExprOp(TOK_EQUAL, ExprOp(op, *args_a), ExprInt(0, args_a[0].size))

arg_a = ExprOp(op, *args_a)
arg_b = ExprOp(op, *args_b)
arg_a = ExprOp(op, *args_a) if len(args_a) > 1 else args_a[0]
arg_b = ExprOp(op, *args_b) if len(args_b) > 1 else args_b[0]
return ExprOp(TOK_EQUAL, arg_a, arg_b)


Expand Down