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

Extract Lambda Models, Fix GDB/BilDB + Boolector combo #305

Open
philzook58 opened this issue Mar 17, 2021 · 0 comments
Open

Extract Lambda Models, Fix GDB/BilDB + Boolector combo #305

philzook58 opened this issue Mar 17, 2021 · 0 comments

Comments

@philzook58
Copy link
Contributor

philzook58 commented Mar 17, 2021

Currently serializing from Boolector asserts a lambda model to Z3 for the memory array. The model extractor in output.ml does not handle this case well. It is currently expected that asking for bildb or gdb output will crash when using Boolector.

It is at least a bit confusing how extract a first order model from the lambda term in the general case.

My suggestion: Walk the AST looking for bitvector literals. Use Z3.Model.eval to evaluate the lambda term applied to these values. Find one fresh value in the domain. Also eval that for the else case. This is a hack and I could probably get cases where it would evaluate incorrectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant