Skip to content

Commit 1d79ad7

Browse files
committed
Special case RM position in z3 backend
1 parent 5ae8183 commit 1d79ad7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

claripy/backends/backend_z3.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,9 @@ def _abstract_internal(self, ctx, ast, split_on=None):
550550
l.error(err)
551551
raise BackendError(err)
552552

553+
if ty is FP and isinstance(args[0], RM):
554+
args = [*args[1:], args[0]]
555+
553556
if op_name == "If":
554557
# If is polymorphic and thus must be handled specially
555558
ty = type(args[1])

0 commit comments

Comments
 (0)