Skip to content

Allow checking cover statements without --cover cover #6613

Open
@zhassan-aws

Description

@zhassan-aws

CBMC version: cbmc-5.49.0
Operating system: All

This is an enhancement request. Currently, the __CPROVER_cover statements are only checked if cbmc is run with --cover cover. Running cbmc without --cover cover results in the following warning:

**** WARNING: no body for function __CPROVER_cover

and the statement is ignored. Given that cover statements are useful for checking reachability and certain conditions, and given that they cannot be used with other commonly-used options (e.g. --unwinding-assertions):

$ cbmc cover.c --cover cover --unwinding-assertions
--cover and --unwinding-assertions must not be given together

it would be useful if CBMC checks cover statements by default.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions