aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/formal/SMTLib2Interface.h
diff options
context:
space:
mode:
authorLeonardo <leo@ethereum.org>2018-11-17 16:48:22 +0800
committerGitHub <noreply@github.com>2018-11-17 16:48:22 +0800
commit5be45e736d2b111c9352ca2990a1c7a653c60c55 (patch)
tree1c52fe27dbdd73fc43967a427236e1662b74d47c /libsolidity/formal/SMTLib2Interface.h
parent460c58fbd194fef5add699405238d3ed302a003f (diff)
parent70bb0eaf95ab6a549f875b845395b31a5d49f99e (diff)
downloaddexon-solidity-5be45e736d2b111c9352ca2990a1c7a653c60c55.tar.gz
dexon-solidity-5be45e736d2b111c9352ca2990a1c7a653c60c55.tar.zst
dexon-solidity-5be45e736d2b111c9352ca2990a1c7a653c60c55.zip
Merge pull request #5307 from ethereum/smt_uf
[SMTChecker] Uninterpreted functions for blockhash()
Diffstat (limited to 'libsolidity/formal/SMTLib2Interface.h')
-rw-r--r--libsolidity/formal/SMTLib2Interface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsolidity/formal/SMTLib2Interface.h b/libsolidity/formal/SMTLib2Interface.h
index eb876a7f..08ad74da 100644
--- a/libsolidity/formal/SMTLib2Interface.h
+++ b/libsolidity/formal/SMTLib2Interface.h
@@ -49,7 +49,7 @@ public:
void push() override;
void pop() override;
- void declareFunction(std::string _name, Sort _domain, Sort _codomain) override;
+ void declareFunction(std::string _name, std::vector<Sort> const& _domain, Sort _codomain) override;
void declareInteger(std::string _name) override;
void declareBool(std::string _name) override;
@@ -58,6 +58,7 @@ public:
private:
std::string toSExpr(Expression const& _expr);
+ std::string toSmtLibSort(Sort _sort);
void write(std::string _data);