Skip to content
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

write_smtlib2 fails #484

Closed
leepike opened this issue Jun 9, 2019 · 0 comments · Fixed by #485
Closed

write_smtlib2 fails #484

leepike opened this issue Jun 9, 2019 · 0 comments · Fixed by #485
Labels
type: bug Issues reporting bugs or unexpected/unwanted behavior

Comments

@leepike
Copy link

leepike commented Jun 9, 2019

> cd saw-0.3-OSX-64/doc/code
> ../../bin/saw double.saw

Fails with output

"write_smtlib2" (/Users/leepike/Downloads/saw-0.3-OSX-64/doc/code/double.saw:14:1-14:14):
not app

and no SMT2 file double.smt2 written.

This is with the version of SAW obtained from https://saw.galois.com/downloads.html on the 9 June 2019.

@brianhuffman brianhuffman added the type: bug Issues reporting bugs or unexpected/unwanted behavior label Jun 10, 2019
brianhuffman pushed a commit that referenced this issue Jun 10, 2019
Unlike function `writeSMTLib2` (which expects a saw-core
proposition of type `sort 0`), `write_smtlib2` expects a
predicate with a return type of `Bool`.

Fixes #484.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Issues reporting bugs or unexpected/unwanted behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants