Skip to content

Commit cf172d6

Browse files
Merge pull request #5 from tautschnig/document-all-steps
Added full SV-COMP benchmarking instructions
2 parents 911a7e0 + 4fd54c4 commit cf172d6

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

README.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
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

2527
https://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

Comments
 (0)