__CPROVER_old
is ignored when called form a spec function
#7775
Labels
aws
Bugs or features of importance to AWS CBMC users
Code Contracts
Function and loop contracts
Kani
Bugs or features of importance to Kani Rust Verifier
The
__CPROVER_old
primitive is not recognized when called from a spec function, whereas inlining the same code into the contract makes it work.Concretely this example works
but this refactor of the same code does not.
It fails not quite silently but emits a warning before failing the verification
CBMC version: 5.84.0
Operating system: OSX
Exact command line resulting in the issue:
goto-instrument --enforce-contract modify test.out test.out2 && cbmc test.out2
What behaviour did you expect: Verification success
What happened instead: Verification failure and warning
This is currently blocking model-checking/kani#2545
The text was updated successfully, but these errors were encountered: