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

Method run

libsolidity/analysis/ControlFlowAnalyzer.cpp:33–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32
33bool ControlFlowAnalyzer::run()
34{
35 for (auto& [pair, flow]: m_cfg.allFunctionFlows())
36 analyze(*pair.function, pair.contract, *flow);
37
38 return !Error::containsErrors(m_errorReporter.errors());
39}
40
41void ControlFlowAnalyzer::analyze(FunctionDefinition const& _function, ContractDefinition const* _contract, FunctionFlow const& _flow)
42{

Callers 6

checkUnreachableMethod · 0.45
visitMethod · 0.45
findCycleMethod · 0.45
containsNestedMappingMethod · 0.45
interfaceTypeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected