diff options
author | Leonardo Alt <leo@ethereum.org> | 2018-07-27 15:14:50 +0800 |
---|---|---|
committer | Leonardo Alt <leo@ethereum.org> | 2018-07-27 22:01:48 +0800 |
commit | b356f6a7f9e4fcdfa0f7df2e938ad735d231e599 (patch) | |
tree | 8d463a692f32811f1b5c4f98676b1f778c8c1afc /libsolidity/formal/SolverInterface.h | |
parent | c633ebe2e6abb9799458c5e1730bd8919232f916 (diff) | |
download | dexon-solidity-b356f6a7f9e4fcdfa0f7df2e938ad735d231e599.tar dexon-solidity-b356f6a7f9e4fcdfa0f7df2e938ad735d231e599.tar.gz dexon-solidity-b356f6a7f9e4fcdfa0f7df2e938ad735d231e599.tar.bz2 dexon-solidity-b356f6a7f9e4fcdfa0f7df2e938ad735d231e599.tar.lz dexon-solidity-b356f6a7f9e4fcdfa0f7df2e938ad735d231e599.tar.xz dexon-solidity-b356f6a7f9e4fcdfa0f7df2e938ad735d231e599.tar.zst dexon-solidity-b356f6a7f9e4fcdfa0f7df2e938ad735d231e599.zip |
Setting timeout to Z3 and CVC4
Diffstat (limited to 'libsolidity/formal/SolverInterface.h')
-rw-r--r-- | libsolidity/formal/SolverInterface.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libsolidity/formal/SolverInterface.h b/libsolidity/formal/SolverInterface.h index 16796684..a6d65ce2 100644 --- a/libsolidity/formal/SolverInterface.h +++ b/libsolidity/formal/SolverInterface.h @@ -231,8 +231,11 @@ public: /// is available. Throws SMTSolverError on error. virtual std::pair<CheckResult, std::vector<std::string>> check(std::vector<Expression> const& _expressionsToEvaluate) = 0; -}; +protected: + // SMT query timeout in milliseconds. + static int const queryTimeout = 10000; +}; } } |