mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #14377 from ethereum/fix-smtlib
SMTChecker: Fix generation of smtlib scripts
This commit is contained in:
commit
2f451a186b
@ -81,13 +81,13 @@ void BMC::analyze(SourceUnit const& _source, map<ASTNode const*, set<Verificatio
|
|||||||
|
|
||||||
SMTEncoder::resetSourceAnalysis();
|
SMTEncoder::resetSourceAnalysis();
|
||||||
|
|
||||||
|
state().prepareForSourceUnit(_source, false);
|
||||||
m_solvedTargets = std::move(_solvedTargets);
|
m_solvedTargets = std::move(_solvedTargets);
|
||||||
m_context.setSolver(m_interface.get());
|
m_context.setSolver(m_interface.get());
|
||||||
m_context.reset();
|
m_context.reset();
|
||||||
m_context.setAssertionAccumulation(true);
|
m_context.setAssertionAccumulation(true);
|
||||||
m_variableUsage.setFunctionInlining(shouldInlineFunctionCall);
|
m_variableUsage.setFunctionInlining(shouldInlineFunctionCall);
|
||||||
createFreeConstants(sourceDependencies(_source));
|
createFreeConstants(sourceDependencies(_source));
|
||||||
state().prepareForSourceUnit(_source, false);
|
|
||||||
m_unprovedAmt = 0;
|
m_unprovedAmt = 0;
|
||||||
|
|
||||||
_source.accept(*this);
|
_source.accept(*this);
|
||||||
|
Loading…
Reference in New Issue
Block a user