summaryrefslogtreecommitdiff
path: root/Source/ModelViewer/BCTProvider.cs
diff options
context:
space:
mode:
authorGravatar qadeer <qadeer@microsoft.com>2011-08-08 13:03:37 -0700
committerGravatar qadeer <qadeer@microsoft.com>2011-08-08 13:03:37 -0700
commitb56539ef83628c27e0d32b0ef595263f40836c44 (patch)
tree456031e52cfeddf442691bfc62f14232eede5617 /Source/ModelViewer/BCTProvider.cs
parent87946bf9c24a394c93dc3ffbae7c544640e8c120 (diff)
various changes to boogie for bitvector analysis and bctprovider
Diffstat (limited to 'Source/ModelViewer/BCTProvider.cs')
-rw-r--r--Source/ModelViewer/BCTProvider.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/ModelViewer/BCTProvider.cs b/Source/ModelViewer/BCTProvider.cs
index f7dae29e..6b48c396 100644
--- a/Source/ModelViewer/BCTProvider.cs
+++ b/Source/ModelViewer/BCTProvider.cs
@@ -32,6 +32,10 @@ namespace Microsoft.Boogie.ModelViewer.BCT {
public BCTModel(Model m, ViewOptions opts)
: base(m, opts) {
f_heap_select = m.MkFunc("[3]", 3);
+
+ foreach (Model.Func fn in m.Functions) {
+
+ }
}
internal void FinishStates() {
@@ -43,7 +47,9 @@ namespace Microsoft.Boogie.ModelViewer.BCT {
}
public string GetUserVariableName(string name) {
- if (name.StartsWith("$"))
+ if (name == "$this")
+ return "this";
+ if (name.Contains("$"))
return null;
if (name == "isControlChecked" || name == "isControlEnabled")
return null;