@@ -913,7 +913,7 @@ def verification_result(verifier_output, verifier):
913
913
return VResult .UNKNOWN
914
914
915
915
916
- def invoke_boogie (args ):
916
+ def boogie_command (args ):
917
917
command = ["boogie" ]
918
918
command += [args .bpl_file ]
919
919
command += ["/doModSetAnalysis" ]
@@ -929,7 +929,7 @@ def invoke_boogie(args):
929
929
return command
930
930
931
931
932
- def invoke_corral (args ):
932
+ def corral_command (args ):
933
933
command = ["corral" ]
934
934
command += [args .bpl_file ]
935
935
command += ["/tryCTrace" , "/noTraceOnDisk" , "/printDataValues:1" ]
@@ -946,7 +946,7 @@ def invoke_corral(args):
946
946
return command
947
947
948
948
949
- def invoke_symbooglix (args ):
949
+ def symbooglix_command (args ):
950
950
command = ['symbooglix' ]
951
951
command += [args .bpl_file ]
952
952
command += ["--file-logging=0" ]
@@ -983,24 +983,20 @@ def process_verifier_output(args, verifier_output):
983
983
def verify_bpl (args ):
984
984
"""Verify the Boogie source file with a back-end verifier."""
985
985
986
- if args .verifier == 'svcomp' :
987
- verify_bpl_svcomp (args )
988
- return
989
-
990
- elif args .verifier == 'boogie' or args .modular :
991
- command = invoke_boogie (args )
986
+ if args .verifier == 'boogie' or args .modular :
987
+ command = boogie_command (args )
992
988
command += ["/proverOpt:O:smt.array.extensional=false" ]
993
989
command += ["/proverOpt:O:smt.qi.eager_threshold=100" ]
994
990
command += ["/proverOpt:O:smt.arith.solver=2" ]
995
991
996
992
elif args .verifier == 'corral' :
997
- command = invoke_corral (args )
993
+ command = corral_command (args )
998
994
args .verifier_options += (
999
995
" /bopt:proverOpt:O:smt.qi.eager_threshold=100"
1000
996
" /bopt:proverOpt:O:smt.arith.solver=2" )
1001
997
1002
998
elif args .verifier == 'symbooglix' :
1003
- command = invoke_symbooglix (args )
999
+ command = symbooglix_command (args )
1004
1000
1005
1001
if args .verifier_options :
1006
1002
command += args .verifier_options .split ()
@@ -1065,13 +1061,13 @@ def thread_verify_bpl(args, args_to_add):
1065
1061
args .solver = args_to_add ['solver' ]
1066
1062
1067
1063
if args .verifier == 'boogie' or args .modular :
1068
- command = invoke_boogie (args )
1064
+ command = boogie_command (args )
1069
1065
1070
1066
elif args .verifier == 'corral' :
1071
- command = invoke_corral (args )
1067
+ command = corral_command (args )
1072
1068
1073
1069
elif args .verifier == 'symbooglix' :
1074
- command = invoke_symbooglix (args )
1070
+ command = symbooglix_command (args )
1075
1071
1076
1072
if args .verifier_options :
1077
1073
command += args .verifier_options .split ()
@@ -1135,7 +1131,10 @@ def main():
1135
1131
if not args .quiet :
1136
1132
print ("SMACK generated %s" % args .bpl_file )
1137
1133
else :
1138
- if args .verifier == 'portfolio' :
1134
+ if args .verifier == 'svcomp' :
1135
+ verify_bpl_svcomp (args )
1136
+ return
1137
+ elif args .verifier == 'portfolio' :
1139
1138
return_code = verify_bpl_portfolio (args )
1140
1139
else :
1141
1140
return_code = verify_bpl (args )
0 commit comments