Open
Description
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
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
cover
statement to RMC model-checking/kani#696tautschnig commentedon Jan 27, 2022
Here's an example of mine that could be "cover.c":
which would be nice to process successfully when using
cbmc --cover cover --unwinding-assertions --unwind 5 cover.c
.feliperodri commentedon Oct 6, 2022
@tautschnig any updates on this issue?