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.