Skip to content

Commit e7dbb20

Browse files
authored
Merge pull request #59 from tautschnig/properties-2021
Use reach_error function instead of __VERIFIER_error
2 parents 2316a3f + 74e4555 commit e7dbb20

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cbmc.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ run()
1414

1515
gmon_suffix=$GMON_OUT_PREFIX
1616
export GMON_OUT_PREFIX="goto-cc_$gmon_suffix"
17-
./goto-cc -m$BIT_WIDTH --function $ENTRY "${BM[@]}" -o $LOG.bin
17+
./goto-cc --object-bits $OBJ_BITS -m$BIT_WIDTH --function $ENTRY "${BM[@]}" -o $LOG.bin
1818

1919
export GMON_OUT_PREFIX="cbmc_$gmon_suffix"
2020
timeout 875 bash -c ' \

tool-wrapper.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ parse_property_file()
2020
if(/^CHECK\(init\((\S+)\(\)\),LTL\((\S+)\)\)$/) {
2121
print "ENTRY=$1\n";
2222
print "PROP=\"label\"\nLABEL=\"$1\"\n" if($2 =~ /^G!label\((\S+)\)$/);
23-
print "PROP=\"unreach_call\"\n" if($2 =~ /^G!call\(__VERIFIER_error\(\)\)$/);
23+
print "PROP=\"unreach_call\"\n" if($2 =~ /^G!call\(reach_error\(\)\)$/);
2424
print "PROP=\"unreach_call\"\n" if($2 =~ /^Gassert$/);
2525
print "PROP=\"memsafety\"\n" if($2 =~ /^Gvalid-(free|deref|memtrack)$/);
2626
print "PROP=\"memcleanup\"\n" if($2 =~ /^Gvalid-memcleanup$/);

0 commit comments

Comments
 (0)