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

Function nondetInterfaceSort

libsolidity/formal/PredicateSort.cpp:41–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41SortPointer nondetInterfaceSort(ContractDefinition const& _contract, SymbolicState& _state)
42{
43 auto varSorts = stateSorts(_contract);
44 std::vector<SortPointer> stateSort{_state.stateSort()};
45 return std::make_shared<FunctionSort>(
46 std::vector<SortPointer>{_state.errorFlagSort(), _state.thisAddressSort()} +
47 getBuiltInFunctionsSorts(_state) +
48 stateSort +
49 varSorts +
50 stateSort +
51 varSorts,
52 SortProvider::boolSort
53 );
54}
55
56SortPointer constructorSort(ContractDefinition const& _contract, SymbolicState& _state)
57{

Callers 3

nondetCallMethod · 0.85
externalFunctionCallMethod · 0.85

Calls 2

stateSortsFunction · 0.85
getBuiltInFunctionsSortsFunction · 0.85

Tested by

no test coverage detected