Skip to content

Include symtab2gb conversion in --only-codegen - #1585

Merged
celinval merged 2 commits into
model-checking:mainfrom
adpaco:codegen-also-symtabs
Aug 25, 2022
Merged

celinval merged 2 commits into
model-checking:mainfrom
adpaco:codegen-also-symtabs

Conversation

@adpaco

@adpaco adpaco commented Aug 24, 2022

Copy link
Copy Markdown
Contributor

Description of changes:

#957 will need more fixes and discussions to be enabled. In the meantime, this PR includes the symtab2gb conversion step in --only-codegen runs, so that Kani fails if the conversion from Kani-generated symbol tables to GotoC program is invalid.

Resolved issues:

Resolves #1584

Call-outs:

Testing:

  • How is this change tested? Existing regression. Run locally the top 100 crates experiment, but it doesn't affect results.

  • 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
adpaco requested a review from a team as a code owner August 24, 2022 21:13

@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.

It's awesome that it hasn't affected the top 100 crates results! Thanks

@adpaco

adpaco commented Aug 25, 2022

Copy link
Copy Markdown
Contributor Author

It's awesome that it hasn't affected the top 100 crates results! Thanks

Unfortunately, these results shouldn't be trusted: #1563

@celinval

Copy link
Copy Markdown
Contributor

It's awesome that it hasn't affected the top 100 crates results! Thanks

Unfortunately, these results shouldn't be trusted: #1563

That's odd. I'm curious to know why that's the case.

@celinval
celinval merged commit 22316d1 into model-checking:main Aug 25, 2022
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.

Extend --only-codegen to use symtab2gb in addition

2 participants