mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[SMTChecker] Add underflow/overflow target to CHC
This commit is contained in:
@@ -1083,7 +1083,6 @@ void SMTEncoder::arrayPop(FunctionCall const& _funCall)
|
||||
|
||||
auto oldElements = symbArray->elements();
|
||||
auto oldLength = symbArray->length();
|
||||
m_context.addAssertion(oldLength > 0);
|
||||
|
||||
symbArray->increaseIndex();
|
||||
m_context.addAssertion(symbArray->elements() == oldElements);
|
||||
|
||||
Reference in New Issue
Block a user