Skip to content

Zero init for common types - #1520

Merged
danielsn merged 3 commits into
model-checking:mainfrom
danielsn:zero_init_cprover
Aug 16, 2022
Merged

danielsn merged 3 commits into
model-checking:mainfrom
danielsn:zero_init_cprover

Conversation

@danielsn

@danielsn danielsn commented Aug 15, 2022 •

Copy link
Copy Markdown
Contributor

Description of changes:

Currently, we have support for zero-initilizing bit-vector types in cprover, but not aggregate types.
This PR adds support for aggregate types also.

Resolved issues:

Resolves #1494

Call-outs:

This is phase 1 of a two phase process to add support for zero-init to Kani.
This was split from #1230 to allow for a second PR to address the need to guard init with a config.

Testing:

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.

@danielsn danielsn self-assigned this Aug 15, 2022
@danielsn
danielsn marked this pull request as ready for review August 15, 2022 14:23
@danielsn
danielsn requested a review from a team as a code owner August 15, 2022 14:23

@celinval celinval left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just some minor comments

@danielsn
danielsn merged commit d3acb55 into model-checking:main Aug 16, 2022
@danielsn
danielsn deleted the zero_init_cprover branch August 16, 2022 16:34
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.

Support for zero initializing values in CProver

2 participants