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()
13
13
PROPERTY2 = "$PROPERTY --nontermination --competition-mode"
14
14
15
15
# 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 \
17
17
--function $ENTRY $BM >> $LOG . ok1 2 >&1 &
18
18
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 \
20
20
--function $ENTRY $BM >> $LOG . ok2 2 >&1 &
21
21
PID2 = "$!"
22
22
# this might not work in all environments
57
57
PROPERTY = "$PROPERTY --heap-interval --k-induction --competition-mode"
58
58
59
59
# 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 \
61
61
--function $ENTRY $BM >> $LOG . ok 2 >&1
62
62
63
63
# store the exit code
Original file line number Diff line number Diff line change @@ -8,21 +8,21 @@ TOOL_NAME=CBMC
8
8
run ()
9
9
{
10
10
if [ "$PROP" = "termination" ] ; then
11
- PROPERTY = "$PROPERTY --no-assertions"
11
+ PROPERTY = "$PROPERTY --no-assertions --no-self-loops-to-assumptions "
12
12
fi
13
13
14
- timeout 850 bash -c ' \
14
+ timeout 875 bash -c ' \
15
15
\
16
16
ulimit -v 15000000 ; \
17
17
\
18
18
EC=42 ; \
19
19
for c in 2 6 12 17 21 40 200 400 1025 2049 268435456 ; do \
20
20
echo "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 ; \
22
22
ec=$? ; \
23
23
if [ $ec -eq 0 ] ; then \
24
24
if ! 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 ; \
26
26
fi ; \
27
27
fi ; \
28
28
if [ $ec -eq 10 ] ; then \
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ process_graphml()
74
74
fi
75
75
}
76
76
77
- OBJ_BITS = "10 "
77
+ OBJ_BITS = "11 "
78
78
BIT_WIDTH = "--64"
79
79
BM = ""
80
80
PROP_FILE = ""
@@ -116,6 +116,7 @@ export PROPERTY
116
116
export BIT_WIDTH
117
117
export BM
118
118
export PROP
119
+ export OBJ_BITS
119
120
120
121
export GMON_OUT_PREFIX = `basename $BM `. gmon . out
121
122
You can’t perform that action at this time.
0 commit comments