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

division by zero not modeled #6

Open
crhf opened this issue Sep 29, 2023 · 1 comment
Open

division by zero not modeled #6

crhf opened this issue Sep 29, 2023 · 1 comment

Comments

@crhf
Copy link

crhf commented Sep 29, 2023

It seems that some division by error are missed. For example, modInt is modeled as a boogie function, but the mod operation can actually throw when modulus is 0. Do I need to make modInt a procedure to model this?

@martinschaef
Copy link
Collaborator

Yes ... but again, Boogie probably changed since, so I don't know what their semantics is. But, in general, I would model functions if you want to control their behavior.

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

2 participants