Merge pull request #9113 from ethereum/smt_chc_overflow

[SMTChecker] Add underflow/overflow target to CHC
This commit is contained in:
chriseth
2020-08-20 13:17:00 +02:00
committed by GitHub
74 changed files with 395 additions and 124 deletions
-1
View File
@@ -1084,7 +1084,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);