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

Function stateSorts

libsolidity/formal/PredicateSort.cpp:114–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112/// Helpers
113
114std::vector<SortPointer> stateSorts(ContractDefinition const& _contract)
115{
116 return applyMap(
117 SMTEncoder::stateVariablesIncludingInheritedAndPrivate(_contract),
118 [](auto _var) { return smt::smtSortAbstractFunction(*_var->type()); }
119 );
120}
121
122std::vector<SortPointer> getBuiltInFunctionsSorts(SymbolicState& _state)
123{

Callers 4

interfaceSortFunction · 0.85
nondetInterfaceSortFunction · 0.85
constructorSortFunction · 0.85
functionSortFunction · 0.85

Calls 3

applyMapFunction · 0.85
smtSortAbstractFunctionFunction · 0.85
typeMethod · 0.45

Tested by

no test coverage detected