66
77#### Build wrapper script
88
9+ If you you want to build the wrapper script only, use
10+
911` make ` tool` -wrapper `
1012
11- where tool is ` cbmc ` or ` 2ls ` , for instance
13+ where tool is ` cbmc ` or ` 2ls ` .
1214
1315#### Benchexec tool script
1416
@@ -23,3 +25,30 @@ where tool is `cbmc` or `2ls`, for instance
2325#### License
2426
2527https://github.com/diffblue/cbmc/blob/master/LICENSE
28+
29+ #### Running experiments in SV-COMP style
30+
31+ ```
32+ git clone --depth=1 https://github.com/sosy-lab/sv-benchmarks
33+ git clone https://github.com/sosy-lab/benchexec
34+ cd benchexec
35+ tar xzf ../2ls-sv-comp-2017.tar.gz
36+ wget https://raw.githubusercontent.com/sosy-lab/sv-comp/master/benchmark-defs/2ls.xml
37+ sed -i 's/witness.graphml/${logfile_path_abs}${inputfile_name}-witness.graphml/' 2ls.xml
38+ bin/benchexec 2ls.xml --tasks <those categories that you want to run>
39+ wget https://raw.githubusercontent.com/sosy-lab/sv-comp/master/benchmark-defs/cpa-seq-validate-correctness-witnesses.xml
40+ wget https://raw.githubusercontent.com/sosy-lab/sv-comp/master/benchmark-defs/cpa-seq-validate-violation-witnesses.xml
41+ git clone --depth=1 https://github.com/sosy-lab/cpachecker.git
42+ cd cpachecker
43+ ant
44+ cd ..
45+ ln -s cpachecker/scripts/cpa.sh cpa.sh
46+ ln -s cpachecker/config/ config
47+ # manually tweak the requiredfiles and option name=-witness lines in cpa-seq-validate*.xml
48+ bin/benchexec cpa-seq-validate-correctness-witnesses.xml
49+ PYTHONPATH=. python3 contrib/mergeBenchmarkSets.py #needs more parameters
50+ bin/table-generator results/*xml.bz2
51+ ```
52+
53+ Replace 2ls by cbmc to use the above with CBMC.
54+
0 commit comments