Skip to content

Commit d50a9b9

Browse files
Improve JBMC README
1 parent 7a08427 commit d50a9b9

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

sv-comp-readme.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,20 +76,28 @@ terminate for input programs that contain loops unless you specify an
7676
unwinding limit using --unwind N. For other flags, see `cbmc-binary -h`.
7777
7878
EOF
79-
else
79+
elif [ x$TOOL != xjbmc ]
80+
then
8081
cat <<EOF
8182
8283
To use the tool, run the tool passing a source file as argument. For C source
8384
code, and as only installation requirement, make sure a C compiler (such as GCC)
8485
is installed.
8586
EOF
87+
else
88+
cat <<EOF
89+
90+
To use the tool, run the tool passing a class or jar file as argument.
91+
Compile sources with Java 8. Using -g is recommended to obtain more
92+
readable counterexample traces.
93+
EOF
8694
fi
8795

8896
cat <<EOF
8997
9098
For SV-COMP, use the wrapper script provided in this distribution, which takes
9199
the following options:
92-
100+
<path(s)> to sources
93101
--32 or --64: set the bit width
94102
--propertyfile <file>: read SV-COMP property specification from <file>
95103
--graphml-witness <file>: write SV-COMP witness to <file>

0 commit comments

Comments
 (0)