about summary refs log tree commit diff homepage
path: root/lib/SMT/SMTParser.h
diff options
context:
space:
mode:
authorCristian Cadar <cristic@cs.stanford.edu>2009-07-08 02:35:55 +0000
committerCristian Cadar <cristic@cs.stanford.edu>2009-07-08 02:35:55 +0000
commit65319873a052826cbea5198815316f676bb86a84 (patch)
treedf2663e838a8ae608c96b373a3197a508c652b47 /lib/SMT/SMTParser.h
parentef6e35242fefee2a3bbbd3c247a3b2291b5965d4 (diff)
downloadklee-65319873a052826cbea5198815316f676bb86a84.tar.gz
Added support for bitvector variables to the SMTLIB parser (currently
widths have to be multiples of 8).



git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@74990 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/SMT/SMTParser.h')
-rw-r--r--lib/SMT/SMTParser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/SMT/SMTParser.h b/lib/SMT/SMTParser.h
index 1e24122f..bae4a23f 100644
--- a/lib/SMT/SMTParser.h
+++ b/lib/SMT/SMTParser.h
@@ -58,6 +58,8 @@ class SMTParser : public klee::expr::Parser {
   int StringToInt(const std::string& s);
   ExprHandle GetConstExpr(std::string val, uint8_t base, klee::Expr::Width w);
 
+  void DeclareExpr(std::string name, Expr::Width w);
+
 
   typedef std::map<const std::string, ExprHandle> VarEnv;
   typedef std::map<const std::string, ExprHandle> FVarEnv;