Skip to content

CBMC 6.0.0-preview fails with mal-formed SMT #8329

Closed
@rod-chapman

Description

@rod-chapman

CBMC version: 6.0.0-preview (built from source morning of 14th June)
Operating system: macOS
Exact command line resulting in the issue: make -f desktop.mk
What behaviour did you expect: Correct and complete proof
What happened instead:

CBMC returns some sort of error from the SMT prover - see below for details.

Source code: https://github.com/rod-chapman/mlkem-c-aarch64
Branch: poly_compress_contracts

To reproduce:

git clone https://github.com/rod-chapman/mlkem-c-aarch64.git
cd mlkem-c-aarch-64
git checkout poly_compress_contracts
cd cbmc/proofs/poly_compress
make -f desktop.mk

See the desktop.mk file for details of how the tools are being invoked.

This results in many ERROR lines in the output, but critically, an earlier error

Running SMT2 QF_AUFBV using Z3
SMT2 solver returned error message:
	"line 62616 column 354: unknown constant pqcrystals_kyber768_ref_poly_compress::tmp_cc$1!0@4#0"

which I assume is coming back from Z3 ?

Metadata

Metadata

Assignees

Labels

awsBugs or features of importance to AWS CBMC usersblockerpending merge

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions