File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ run()
1313 PROPERTY2 = "$PROPERTY --nontermination --competition-mode"
1414
1515 # run the termination and nontermination analysis in parallel
16- $TOOL_BINARY --graphml -witness $LOG . witness $BIT_WIDTH --object -bits OBJ_BITS $PROPERTY1 \
16+ $TOOL_BINARY --graphml -witness $LOG . witness $BIT_WIDTH --object -bits $ OBJ_BITS $PROPERTY1 \
1717 --function $ENTRY $BM >> $LOG . ok1 2 >&1 &
1818 PID1 = "$!"
19- $TOOL_BINARY --graphml -witness $LOG . witness $BIT_WIDTH --object -bits OBJ_BITS $PROPERTY2 \
19+ $TOOL_BINARY --graphml -witness $LOG . witness $BIT_WIDTH --object -bits $ OBJ_BITS $PROPERTY2 \
2020 --function $ENTRY $BM >> $LOG . ok2 2 >&1 &
2121 PID2 = "$!"
2222 # this might not work in all environments
5757 PROPERTY = "$PROPERTY --heap-interval --k-induction --competition-mode"
5858
5959 # run the tool
60- $TOOL_BINARY --graphml -witness $LOG . witness $BIT_WIDTH --object -bits OBJ_BITS $PROPERTY \
60+ $TOOL_BINARY --graphml -witness $LOG . witness $BIT_WIDTH --object -bits $ OBJ_BITS $PROPERTY \
6161 --function $ENTRY $BM >> $LOG . ok 2 >&1
6262
6363 # store the exit code
Original file line number Diff line number Diff line change @@ -8,21 +8,21 @@ TOOL_NAME=CBMC
88run ()
99{
1010 if [ "$PROP" = "termination" ] ; then
11- PROPERTY = "$PROPERTY --no-assertions"
11+ PROPERTY = "$PROPERTY --no-assertions --no-self-loops-to-assumptions "
1212 fi
1313
14- timeout 850 bash -c ' \
14+ timeout 875 bash -c ' \
1515\
1616ulimit -v 15000000 ; \
1717\
1818EC=42 ; \
1919for c in 2 6 12 17 21 40 200 400 1025 2049 268435456 ; do \
2020echo "Unwind: $c" > $LOG.latest ; \
21- ./cbmc-binary --graphml-witness $LOG.witness --unwind $c --stop-on-fail $BIT_WIDTH --object-bits OBJ_BITS $PROPERTY --function $ENTRY $BM >> $LOG.latest 2>&1 ; \
21+ ./cbmc-binary --graphml-witness $LOG.witness --unwind $c --stop-on-fail $BIT_WIDTH --object-bits $ OBJ_BITS $PROPERTY --function $ENTRY $BM >> $LOG.latest 2>&1 ; \
2222ec=$? ; \
2323if [ $ec -eq 0 ] ; then \
2424if ! tail -n 10 $LOG.latest | grep -q "^VERIFICATION SUCCESSFUL$" ; then ec=1 ; else \
25- ./cbmc-binary --unwinding-assertions --unwind $c --stop-on-fail $BIT_WIDTH --object-bits OBJ_BITS $PROPERTY --function $ENTRY $BM > /dev/null 2>&1 || ec=42 ; \
25+ ./cbmc-binary --unwinding-assertions --unwind $c --stop-on-fail $BIT_WIDTH --object-bits $ OBJ_BITS $PROPERTY --function $ENTRY $BM > /dev/null 2>&1 || ec=42 ; \
2626fi ; \
2727fi ; \
2828if [ $ec -eq 10 ] ; then \
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ process_graphml()
7474 fi
7575}
7676
77- OBJ_BITS = "10 "
77+ OBJ_BITS = "11 "
7878BIT_WIDTH = "--64"
7979BM = ""
8080PROP_FILE = ""
@@ -116,6 +116,7 @@ export PROPERTY
116116export BIT_WIDTH
117117export BM
118118export PROP
119+ export OBJ_BITS
119120
120121export GMON_OUT_PREFIX = `basename $BM `. gmon . out
121122
You can’t perform that action at this time.
0 commit comments