diff options
author | Valentin Wüstholz <wuestholz@gmail.com> | 2015-05-18 18:19:13 +0200 |
---|---|---|
committer | Valentin Wüstholz <wuestholz@gmail.com> | 2015-05-18 18:19:13 +0200 |
commit | 216c71366e6fff4e225b68ef6ff69035c9542b4a (patch) | |
tree | a4d11ebeb7c99d113418cf15186ce6b67923f8e4 /Source/VCGeneration/Context.cs | |
parent | b8984d6c6d7495f19c70bbc1e3a364f8b0a4e206 (diff) |
Add some experimental support for diagnosing timeouts.
Diffstat (limited to 'Source/VCGeneration/Context.cs')
-rw-r--r-- | Source/VCGeneration/Context.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/VCGeneration/Context.cs b/Source/VCGeneration/Context.cs index 83787dc5..ddc34976 100644 --- a/Source/VCGeneration/Context.cs +++ b/Source/VCGeneration/Context.cs @@ -22,6 +22,8 @@ namespace Microsoft.Boogie /// </summary>
[ContractClass(typeof(ProverContextContracts))]
public abstract class ProverContext : ICloneable {
+ public int TimoutDiagnosticsCount { get; set; }
+ public readonly Dictionary<int, Tuple<AssertCmd, TransferCmd>> TimeoutDiagnosticIDToAssertion = new Dictionary<int, Tuple<AssertCmd, TransferCmd>>();
protected virtual void ProcessDeclaration(Declaration decl) {Contract.Requires(decl != null);}
public virtual void DeclareType(TypeCtorDecl t, string attributes) {Contract.Requires(t != null); ProcessDeclaration(t); }
public virtual void DeclareConstant(Constant c, bool uniq, string attributes) {Contract.Requires(c != null); ProcessDeclaration(c); }
|