mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Enable resource limit for Z3
This commit is contained in:
@@ -189,7 +189,7 @@ std::string CHCSmtLib2Interface::querySolver(std::string const& _input)
|
||||
if (m_enabledSolvers.eld)
|
||||
return "eld";
|
||||
if (m_enabledSolvers.z3)
|
||||
return "z3";
|
||||
return "z3 rlimit=1000000";
|
||||
return "";
|
||||
}();
|
||||
auto result = m_smtCallback(ReadCallback::kindString(ReadCallback::Kind::SMTQuery) + " " + solverBinary, _input);
|
||||
|
||||
Reference in New Issue
Block a user