-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Ostrich] String theory crashes when solving query with STR_LESS_EQUAL #9
Comments
Thanks for the bug report. This was a missing case in Ostrich, which has now been fixed on the Ostrich master. |
@pruemmer Would it be possible to provide a recent release of Ostrich? Thanks in advance. |
Sorry for the delay; I have now published a version 1.3.5 that includes those fixes! |
daniel-raffler
added a commit
to sosy-lab/java-smt
that referenced
this issue
Sep 6, 2024
…t should be removed once Ostrich has been updated in our own repository. The new version is needed as it fixes a bug (uuverifiers/princess#9) that affected two of our tests in StringFormulaManagerTest
This was referenced Sep 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
❗ Maybe the following is a bug for Ostrich. Then please move this issue to a better place.
The JavaSMT developers are currently trying to improve their support for String/Regex theory with the SMT solver Princess (see sosy-lab/java-smt#257). There are some smaller issues in Princess (version 2023-06-19) that block us from a good integration.
The following issue appeared when solving a smaller formula for String theory:
Description:
We want to solve the query
"a" <= var && var <= "c" && len(var) == 1
and want to proove thatvar
is one of["a", "b", "c"]
. (The original query uses STR_LESS_THAN rather than STR_LESS_EQUAL, which limits the result tovar:="b"
.)Code / Junit test:
Please note that the interaction between Java and Scala is not nice to read 😄 .
Stacktrace:
The text was updated successfully, but these errors were encountered: