MCPcopy Create free account
hub / github.com/argotorg/solidity / initContract

Method initContract

libsolidity/formal/SMTEncoder.cpp:750–760  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

748}
749
750void SMTEncoder::initContract(ContractDefinition const& _contract)
751{
752 solAssert(m_currentContract == nullptr, "");
753 m_currentContract = &_contract;
754
755 m_context.reset();
756 m_context.pushSolver();
757 createStateVariables(_contract);
758 clearIndices(m_currentContract, nullptr);
759 m_checked = true;
760}
761
762void SMTEncoder::initFunction(FunctionDefinition const& _function)
763{

Callers

nothing calls this directly

Calls 2

pushSolverMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected