Skip to content

Unexpected __CPROVER_exists failure #5395

Closed
@azcwagner

Description

@azcwagner

CBMC version: 5.12 (cbmc-5.12)
Operating system: macOS Catalina Version 10.15.4
Exact command line resulting in the issue: Run s2n_constant_time_equals proof.
What behaviour did you expect: Verification Successful.
What happened instead: assertion __CPROVER_exists failed.

To reproduce the issue, clone https://github.com/awslabs/s2n and include the changes in aws/s2n-tls#2072; then, go to s2n/tests/cbmc/proofs/s2n_safety_constant_time_equals dir. run make report and the report should be available under html/index.html in about 30 seconds.

In the report I observed the following result:

Warnings:
warning: ignoring exists

Errors
In tests/cbmc/proofs/s2n_safety_constant_time_equals/s2n_safety_constant_time_equals_harness.c
In s2n_safety_constant_time_equals_harness
Line 47:
[trace] assertion __CPROVER_exists {size_t i; (i >= 0 && i < len) && (a[i] != b[i])}

Metadata

Metadata

Assignees

No one assigned

    Labels

    awsBugs or features of importance to AWS CBMC users

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions