File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 11CBMC =../cbmc
222LS =../2ls
33JBMC =../cbmc
4- YEAR =2019
54
65all : cbmc 2ls jbmc
76
@@ -65,10 +64,11 @@ jbmc.zip: jbmc.inc tool-wrapper.inc $(JBMC)/LICENSE $(JBMC)/jbmc/src/jbmc/jbmc $
6564 $(MAKE ) jbmc-wrapper
6665 mv jbmc-wrapper $(basename $@ ) /jbmc
6766 ./sv-comp-readme.sh $(basename $@ ) > $(basename $@ ) /README
68- cp -L $(JBMC ) /LICENSE $(basename $@ ) /
67+ cp -L $(JBMC ) /LICENSE $(basename $@ ) /LICENSE-for-JBMC
68+ cp -L $(JBMC ) /jbmc/lib/java-models-library/OpenJDK\ \ GPLv2\ +\ Classpath\ Exception.txt $(basename $@ ) /LICENSE-for-core-models
6969 cp -L $(JBMC ) /jbmc/src/jbmc/jbmc $(basename $@ ) /jbmc-binary
7070 cp -L $(JBMC ) /jbmc/lib/java-models-library/target/core-models.jar $(basename $@ ) /
7171 chmod a+rX $(basename $@ ) /*
7272 zip -r $@ $(basename $@ )
73- cd $(basename $@ ) && rm jbmc jbmc-binary core-models.jar LICENSE README
73+ cd $(basename $@ ) && rm jbmc jbmc-binary core-models.jar LICENSE-for-core-models LICENSE-for-JBMC README
7474 rmdir $(basename $@ )
Original file line number Diff line number Diff line change @@ -76,20 +76,28 @@ terminate for input programs that contain loops unless you specify an
7676unwinding limit using --unwind N. For other flags, see ` cbmc-binary -h` .
7777
7878EOF
79- else
79+ elif [ x$TOOL != xjbmc ]
80+ then
8081 cat << EOF
8182
8283To use the tool, run the tool passing a source file as argument. For C source
8384code, and as only installation requirement, make sure a C compiler (such as GCC)
8485is installed.
8586EOF
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
8694fi
8795
8896cat << EOF
8997
9098For SV-COMP, use the wrapper script provided in this distribution, which takes
9199the 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>
You can’t perform that action at this time.
0 commit comments