Skip to content

Commit

Permalink
Special case RM position in z3 backend
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin committed Sep 21, 2024
1 parent 29e5800 commit f21b9df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions claripy/backends/backend_z3.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,9 @@ def _abstract_internal(self, ctx, ast, split_on=None):
l.error(err)
raise BackendError(err)

if ty is FP and isinstance(args[0], RM):
args = [*args[1:], args[0]]

if op_name == "If":
# If is polymorphic and thus must be handled specially
ty = type(args[1])
Expand Down

0 comments on commit f21b9df

Please sign in to comment.