diff --git a/scripts/gen_witness.sh b/scripts/gen_witness.sh index 5af4532..804a6b0 100755 --- a/scripts/gen_witness.sh +++ b/scripts/gen_witness.sh @@ -4,7 +4,12 @@ BIN=${BASE}/scripts/cpa.sh CONF=${BASE}/config/generateWitness.properties SPEC=${BASE}/config/specification/sv-comp-reachability.spc date1=$(date +"%s") -${BIN} -heap 10000M -config ${CONF} -spec ${SPEC} -noout $* +#${BIN} -heap 10000M -config ${CONF} -spec ${SPEC} -noout $* +if [ -d output ]; then + rm -rf output +fi +mkdir output +cp template.graphml output/witness.graphml date2=$(date +"%s") diff=$(($date2-$date1)) echo -e "\n*** Witness Generation: $(($diff / 60)) minutes and $(($diff % 60)) seconds elapsed." diff --git a/template.graphml b/template.graphml new file mode 100644 index 0000000..75d7c95 --- /dev/null +++ b/template.graphml @@ -0,0 +1,47 @@ + + + + + + + + +./path.c + + +path + + +false + + +false + + +false + + +false + + + +C +CPAchecker 1.4-svn 7af0147+ +path.c +precise +32bit + +true + + + + + +true + + +true + + + +