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

[Boogie Backend] Add support for int-to-int casts #2957

Merged
merged 2 commits into from
Dec 19, 2023

Conversation

zhassan-aws
Copy link
Contributor

Add support for int-to-int cast operations (MIR's Rvalue::Cast with the CastKind::IntToInt kind) through implementing them as extracts/concats in Boogie.

The PR also includes another unbounded verification example involving the serialization of an array of words into a buffer of bytes, which involves int-to-int cast operations.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

@zhassan-aws zhassan-aws requested a review from a team as a code owner December 19, 2023 17:33
@github-actions github-actions bot added the Z-BenchCI Tag a PR to run benchmark CI label Dec 19, 2023
@zhassan-aws zhassan-aws merged commit d7879ea into model-checking:features/boogie Dec 19, 2023
20 checks passed
@zhassan-aws zhassan-aws deleted the int-cast branch December 19, 2023 18:43
zhassan-aws added a commit that referenced this pull request Dec 19, 2023
Add support for int-to-int cast operations (MIR's `Rvalue::Cast` with
the `CastKind::IntToInt` kind) through implementing them as
extracts/concats in Boogie.

The PR also includes another unbounded verification example involving
the serialization of an array of words into a buffer of bytes, which
involves int-to-int cast operations.

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Z-BenchCI Tag a PR to run benchmark CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant