[SMTChecker] Use rlimit instead of tlimit for SMT queries

This commit is contained in:
Leonardo Alt
2019-12-04 11:52:18 +01:00
parent d0f9201ed4
commit 67d82fc8a7
7 changed files with 17 additions and 14 deletions
+2 -3
View File
@@ -27,10 +27,9 @@ using namespace dev::solidity::smt;
Z3Interface::Z3Interface():
m_solver(m_context)
{
// This needs to be set globally.
// These need to be set globally.
z3::set_param("rewriter.pull_cheap_ite", true);
// This needs to be set in the context.
m_context.set("timeout", queryTimeout);
z3::set_param("rlimit", resourceLimit);
}
void Z3Interface::reset()