summaryrefslogtreecommitdiff
path: root/src/smt
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2016-07-20 13:28:01 -0500
committerajreynol <andrew.j.reynolds@gmail.com>2016-07-20 13:28:01 -0500
commitf827fb06c949d421fb32f6629c2c353ca7bd026e (patch)
tree04b3563aa2467784517193dd22ef95f2ce1e612a /src/smt
parentdaf2eca9a4bb32680cbf35945bb09cfd13be76a7 (diff)
Infrastructure for storing and printing heap models for separation logic. Ensure value of sep.nil is correct in models. Print instantiations as sexprs.
Diffstat (limited to 'src/smt')
-rw-r--r--src/smt/model.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/smt/model.h b/src/smt/model.h
index eadeb1c4b..fd31655f4 100644
--- a/src/smt/model.h
+++ b/src/smt/model.h
@@ -67,6 +67,8 @@ public:
virtual Cardinality getCardinality(Type t) const = 0;
/** print comments */
virtual void getComments(std::ostream& out) const {}
+ /** get heap model (for separation logic) */
+ virtual bool getHeapModel( Expr& h, Expr& ne ) const { return false; }
};/* class Model */
class ModelBuilder {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback