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

Function getStateExpressionsForCall

libsolidity/formal/PredicateInstance.cpp:226–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226std::vector<smtutil::Expression> getStateExpressionsForCall(SymbolicState const& _state, bool _internal)
227{
228 if (_state.hasBytesConcatFunction())
229 return {_state.errorFlag().currentValue(), _internal ? _state.thisAddress(0) : _state.thisAddress(),
230 _state.abi(0), _state.bytesConcat(0), _state.crypto(0), _internal ? _state.tx(0) : _state.tx(), _state.state()};
231 return {_state.errorFlag().currentValue(), _internal ? _state.thisAddress(0) : _state.thisAddress(),
232 _state.abi(0), _state.crypto(0), _internal ? _state.tx(0) : _state.tx(), _state.state()};
233}
234
235std::vector<smtutil::Expression> getStateExpressionsForDefinition(SymbolicState const& _state)
236{

Callers 2

constructorCallFunction · 0.85

Calls 8

thisAddressMethod · 0.80
abiMethod · 0.80
bytesConcatMethod · 0.80
cryptoMethod · 0.80
txMethod · 0.80
currentValueMethod · 0.45
stateMethod · 0.45

Tested by

no test coverage detected