File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
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 $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 $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 $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 @@ -18,11 +18,11 @@ ulimit -v 15000000 ; \
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 $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 $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,6 +74,7 @@ process_graphml()
7474 fi
7575}
7676
77+ OBJ_BITS = "10"
7778BIT_WIDTH = "--64"
7879BM = ""
7980PROP_FILE = ""
You can’t perform that action at this time.
0 commit comments