We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 225e18d + d54d63b commit f57f2b8Copy full SHA for f57f2b8
doc/cprover-manual/cbmc-tutorial.md
@@ -145,6 +145,8 @@ int sum() {
145
sum=0;
146
for(i=0; i<10; i++)
147
sum+=array[i];
148
+
149
+ return sum;
150
}
151
```
152
@@ -216,6 +218,7 @@ is an example of a program with a user-specified property:
216
218
217
219
```C
220
_Bool nondet_bool();
221
+unsigned int nondet_unsigned_int();
222
_Bool LOCK = 0;
223
224
_Bool lock()
@@ -239,7 +242,7 @@ void unlock()
239
242
int main()
240
243
{
241
244
unsigned got_lock = 0;
- int times;
245
+ unsigned times = nondet_unsigned_int();
246
247
while(times > 0)
248
0 commit comments