@@ -123,7 +123,7 @@ depends on an input):
123
123
To limit the number of times the for-loop is unwound, we use the ` --unwind N `
124
124
options, in which case the following call to JBMC:
125
125
```
126
- $ jbmc tutorial.ExampleUnwind --function tutorial.ExampleUnwind .isPrime --unwind 10
126
+ $ jbmc tutorial.ExampleUnwind.isPrime --unwind 10
127
127
```
128
128
will terminate correctly. In this case, we will see ` VERIFICATION SUCCESSFUL ` ,
129
129
as no automatic assertions are violated.
@@ -139,7 +139,7 @@ JBMC will try to refute. On line 7, we check the assertion that all odd
139
139
numbers greater than 1 are prime. To be sure that this always holds, we run
140
140
JBMC on the example, with a reasonable ` unwind ` value:
141
141
```
142
- $ jbmc tutorial.ExampleUnwind --function tutorial.ExampleUnwind .doSomething --unwind 10
142
+ $ jbmc tutorial.ExampleUnwind.doSomething --unwind 10
143
143
```
144
144
Unsurprisingly JBMC doesn't agree, and prints an assertion failure
145
145
(truncated here for readability):
@@ -223,7 +223,7 @@ Consider the following code:
223
223
224
224
When given the ` --throw-runtime-exceptions ` options:
225
225
```
226
- $ jbmc tutorial.ExampleExceptions --tutorial.ExampleExceptions .strLength --throw-runtime-exceptions
226
+ $ jbmc tutorial.ExampleExceptions.strLength --throw-runtime-exceptions
227
227
```
228
228
JBMC will signal that the ` str.length() ` call may throw a runtime exception
229
229
and that this exception is not caught.
0 commit comments