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

Adopt CBMC 6.1 and cbmc-viewer 3.9 #4661

Merged
merged 54 commits into from
Aug 2, 2024
Merged

Conversation

rod-chapman
Copy link
Contributor

Description of changes:

Updates Makefiles, CI runner scripts and code to adopt newly released CBMC 6.1 and cbmc-viewer 3.9

All proofs now run OK on EC2 c7i instance AND locally on Apple M1-based macOS.

Testing:

All tests re-run on this branch on both EC2 c7i instance and M1 macOS.

macOS users - just "brew update" and "brew upgrade cbmc cbmc-viewer" to get new tool versions,
then

cd tests/cbmc/proofs
./run-cbmc-proofs.py --summarize -j8

does the trick, but substitute "8" for the number of CPU cores on your platform (e.g. 32 for c7i.8xlarge)

Proofs should complete in about 12 minutes.

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

… fail

Signed-off-by: Rod Chapman <rodchap@amazon.com>
…bject_bits option for goto-cc 6.0.0

Signed-off-by: Rod Chapman <rodchap@amazon.com>
…o keep it.

Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
…n CBMC runs

Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
…pto_is_awslc.c

Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
…acOS.

Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
…ess.

Signed-off-by: Rod Chapman <rodchap@amazon.com>
…0 and beyond

Signed-off-by: Rod Chapman <rodchap@amazon.com>
…l for CBMC verification

Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
…nce.

Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
@jmayclin jmayclin added the CBMC Anything related to CBMC proofs. label Jul 24, 2024
.github/workflows/proof_ci.yaml Outdated Show resolved Hide resolved
.github/workflows/proof_ci.yaml Outdated Show resolved Hide resolved
.github/workflows/proof_ci.yaml Show resolved Hide resolved
.github/workflows/proof_ci.yaml Show resolved Hide resolved
stuffer/s2n_stuffer_text.c Outdated Show resolved Hide resolved
tests/cbmc/proofs/Makefile.common Show resolved Hide resolved
tests/cbmc/proofs/Makefile.common Outdated Show resolved Hide resolved
Signed-off-by: Rod Chapman <rodchap@amazon.com>
1. Add comment and reference to explain why we disable standard checks when
   generating coverage info.
2. Remove redundant and commented-out line setting --object-bits flag

Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
Signed-off-by: Rod Chapman <rodchap@amazon.com>
…e-visited in a separate Issue

Signed-off-by: Rod Chapman <rodchap@amazon.com>
@lrstewart lrstewart enabled auto-merge (squash) August 1, 2024 18:52
auto-merge was automatically disabled August 2, 2024 09:30

Head branch was pushed to by a user without write access

Signed-off-by: Ubuntu <ubuntu@ip-172-31-46-247.eu-west-2.compute.internal>
@lrstewart lrstewart enabled auto-merge (squash) August 2, 2024 13:37
@lrstewart lrstewart merged commit b9a97bc into aws:main Aug 2, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CBMC Anything related to CBMC proofs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants