Skip to content

Add a test for bswap#1023

Merged
adpaco-aws merged 4 commits intomodel-checking:mainfrom
adpaco-aws:bswap-audit
Apr 12, 2022
Merged

Add a test for bswap#1023
adpaco-aws merged 4 commits intomodel-checking:mainfrom
adpaco-aws:bswap-audit

Conversation

@adpaco-aws
Copy link
Contributor

Description of changes:

Adds a test for bswap, which relies on CBMC's implementation. As in other bit-manipulation intrinsics, it suffers from #934

Resolved issues:

Part of #727

Call-outs:

Testing:

  • How is this change tested? Adds one test.

  • Is this a refactor change? No.

Checklist

  • Each commit message has a non-empty body, explaining why the change was made
  • Methods or procedures are documented
  • Regression or unit tests are included, or existing tests cover the modified code
  • My PR is restricted to a single feature or bugfix

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

@adpaco-aws adpaco-aws requested a review from a team as a code owner April 7, 2022 21:26
@adpaco-aws
Copy link
Contributor Author

Extended the description, added an example and link to the intrinsic documentation. Also split into several proofs (one per macro call), so all comments should be addressed now.

Copy link
Contributor

@celinval celinval left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@adpaco-aws adpaco-aws merged commit e693bd2 into model-checking:main Apr 12, 2022
@adpaco-aws adpaco-aws mentioned this pull request Apr 13, 2022
tedinski pushed a commit to tedinski/rmc that referenced this pull request Apr 26, 2022
* Add a test for `bswap`

* Address comments
tedinski pushed a commit that referenced this pull request Apr 27, 2022
* Add a test for `bswap`

* Address comments
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

Successfully merging this pull request may close these issues.

3 participants