We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfd9395 commit c924ee6Copy full SHA for c924ee6
regression/contracts-dfcc/dont_skip_cprover_prefixed_vars_fail/main.c
@@ -1,5 +1,8 @@
1
void foo()
2
{
3
+ // Initialize them with `nondet_int` to avoid them being ignored by DFCC.
4
+ // DFCC ignores variables that are not read/written to outside the loop
5
+ // or in the loop contracts.
6
int nondet_var = nondet_int();
7
int __VERIFIER_var = nondet_int();
8
int __CPROVER_var = nondet_int();
regression/contracts-dfcc/dont_skip_cprover_prefixed_vars_pass/main.c
0 commit comments