mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[SMTChecker] Use rlimit instead of tlimit for SMT queries
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user