z3 py in overflow checking for bit-vectors #7208
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, recently, I want to use overflow checking functions in z3py.
I can understand
bvsaddo
andbvuaddo
are corresponding toBVAddNoOverflow(signed=True)
,BVAddNoOverflow(signed=False)
each. However, I cannot find functions corresponding tobvssubo
andbvusubo
. Even though there is a functionBVSubNoOverflow
however, it does not havesinged
argument. And, there is a functionBVSubNoUnderflow
withsigned
argument. So, I am very confused of what to use for overflow checking in z3 py.If you are okay, can I know what functions correspond to overflow checking functions?(bvsaddo, bvuaddo, bvssubo, bvusubo, bvsmulo, bvumulo, bvsdivo, bvsnego)
Thanks for your time!
Beta Was this translation helpful? Give feedback.
All reactions