summaryrefslogtreecommitdiff
path: root/Source/Core/CommandLineOptions.cs
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2014-06-20 17:58:41 +0200
committerGravatar wuestholz <unknown>2014-06-20 17:58:41 +0200
commit81e96e8c695b582402a17c8957616ee72d6ebb29 (patch)
tree9a2c552671806035ece54fa7560b45d6a655e394 /Source/Core/CommandLineOptions.cs
parent4cf8c3c2a02dd29f98ec0e7a2fb31ed71a1a2939 (diff)
Changed the 'verifySnapshots' command-line option to accept a numeric argument instead of a boolean one.
Diffstat (limited to 'Source/Core/CommandLineOptions.cs')
-rw-r--r--Source/Core/CommandLineOptions.cs13
1 files changed, 9 insertions, 4 deletions
diff --git a/Source/Core/CommandLineOptions.cs b/Source/Core/CommandLineOptions.cs
index 5ab1942f..2a995fc2 100644
--- a/Source/Core/CommandLineOptions.cs
+++ b/Source/Core/CommandLineOptions.cs
@@ -364,7 +364,7 @@ namespace Microsoft.Boogie {
Contract.Invariant(0 <= PrintUnstructured && PrintUnstructured < 3); // 0 = print only structured, 1 = both structured and unstructured, 2 = only unstructured
}
- public bool VerifySnapshots;
+ public int VerifySnapshots;
public bool VerifySeparately;
public string PrintFile = null;
public int PrintUnstructured = 0;
@@ -1312,6 +1312,10 @@ namespace Microsoft.Boogie {
case "errorLimit":
ps.GetNumericArgument(ref ProverCCLimit);
return true;
+
+ case "verifySnapshots":
+ ps.GetNumericArgument(ref VerifySnapshots, 2);
+ return true;
case "useSmtOutputFormat": {
if (ps.ConfirmArgumentCount(0)) {
@@ -1415,7 +1419,6 @@ namespace Microsoft.Boogie {
ps.CheckBooleanFlag("useProverEvaluate", ref UseProverEvaluate) ||
ps.CheckBooleanFlag("nonUniformUnfolding", ref NonUniformUnfolding) ||
ps.CheckBooleanFlag("deterministicExtractLoops", ref DeterministicExtractLoops) ||
- ps.CheckBooleanFlag("verifySnapshots", ref VerifySnapshots) ||
ps.CheckBooleanFlag("verifySeparately", ref VerifySeparately) ||
ps.CheckBooleanFlag("trustAtomicityTypes", ref TrustAtomicityTypes) ||
ps.CheckBooleanFlag("trustNonInterference", ref TrustNonInterference) ||
@@ -1743,9 +1746,11 @@ namespace Microsoft.Boogie {
1 = perform live variable analysis (default)
2 = perform interprocedural live variable analysis
/noVerify skip VC generation and invocation of the theorem prover
- /verifySnapshots
+ /verifySnapshots:<n>
verify several program snapshots (named <filename>.v0.bpl
- to <filename>.vN.bpl) using verification result caching
+ to <filename>.vN.bpl) using verification result caching:
+ 0 - do not use any verification result caching (default)
+ 1 - use verification result caching
/verifySeparately
verify each input program separately
/removeEmptyBlocks:<c>