summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorGravatar schaef <unknown>2011-03-15 02:58:31 +0000
committerGravatar schaef <unknown>2011-03-15 02:58:31 +0000
commit3b95e484b2e097534bf150edc87bc1b19b5892bf (patch)
treef1ae58dc91efec7599a44d06908d85e83c9be2e4 /Source/Core
parentb7829c73906c7ddbc01e7e076aa430f349ae9698 (diff)
new algorithm for dead code detection (vc:doomed)
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/CommandLineOptions.cs14
1 files changed, 6 insertions, 8 deletions
diff --git a/Source/Core/CommandLineOptions.cs b/Source/Core/CommandLineOptions.cs
index 2fb29d7a..12264c95 100644
--- a/Source/Core/CommandLineOptions.cs
+++ b/Source/Core/CommandLineOptions.cs
@@ -109,7 +109,7 @@ namespace Microsoft.Boogie {
public string PrintFile = null;
public int PrintUnstructured = 0;
-
+ public int DoomStrategy = -1;
public bool PrintDesugarings = false;
public string SimplifyLogFilePath = null;
public string/*!*/ LogPrefix = "";
@@ -258,7 +258,6 @@ namespace Microsoft.Boogie {
Unspecified
}
public VCVariety vcVariety = VCVariety.Unspecified; // will not be Unspecified after command line has been parsed
- public bool useDoomDebug = false; // Will use doomed analysis to search for errors if set
public bool RemoveEmptyBlocks = true;
public bool CoalesceBlocks = true;
@@ -1009,11 +1008,6 @@ namespace Microsoft.Boogie {
break;
}
- case "/DoomDebug":
- vcVariety = VCVariety.Doomed;
- useDoomDebug = true;
- break;
-
case "-vc":
case "/vc":
if (ps.ConfirmArgumentCount(1)) {
@@ -1071,6 +1065,11 @@ namespace Microsoft.Boogie {
}
break;
+ case "-DoomStrategy":
+ case "/DoomStrategy":
+ ps.GetNumericArgument(ref DoomStrategy);
+ break;
+
case "-extractLoops":
case "/extractLoops":
if (ps.ConfirmArgumentCount(0)) {
@@ -2139,7 +2138,6 @@ namespace Microsoft.Boogie {
b = flat block, r = flat block reach,
s = structured, l = local, d = dag (default with /prover:z3)
doomed = doomed
- /DoomDebug : Use Doom detection to debug (experimental)
/traceverify : print debug output during verification condition generation
/subsumption:<c> : apply subsumption to asserted conditions:
0 - never, 1 - not for quantifiers, 2 (default) - always