aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/formal/CVC4Interface.cpp
diff options
context:
space:
mode:
authorLeonardo Alt <leo@ethereum.org>2018-07-27 15:14:50 +0800
committerLeonardo Alt <leo@ethereum.org>2018-07-27 22:01:48 +0800
commitb356f6a7f9e4fcdfa0f7df2e938ad735d231e599 (patch)
tree8d463a692f32811f1b5c4f98676b1f778c8c1afc /libsolidity/formal/CVC4Interface.cpp
parentc633ebe2e6abb9799458c5e1730bd8919232f916 (diff)
downloaddexon-solidity-b356f6a7f9e4fcdfa0f7df2e938ad735d231e599.tar.gz
dexon-solidity-b356f6a7f9e4fcdfa0f7df2e938ad735d231e599.tar.zst
dexon-solidity-b356f6a7f9e4fcdfa0f7df2e938ad735d231e599.zip
Setting timeout to Z3 and CVC4
Diffstat (limited to 'libsolidity/formal/CVC4Interface.cpp')
-rw-r--r--libsolidity/formal/CVC4Interface.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/formal/CVC4Interface.cpp b/libsolidity/formal/CVC4Interface.cpp
index 0cb70d2f..0530e940 100644
--- a/libsolidity/formal/CVC4Interface.cpp
+++ b/libsolidity/formal/CVC4Interface.cpp
@@ -37,6 +37,7 @@ void CVC4Interface::reset()
m_functions.clear();
m_solver.reset();
m_solver.setOption("produce-models", true);
+ m_solver.setTimeLimit(queryTimeout);
}
void CVC4Interface::push()