test/tools/ossfuzz/solProtoFuzzer.cpp
/// Compares the contents of the memory address pointed to
/// by `_result` of `_length` bytes to the expected output.
/// Returns true if `_result` matches expected output, false
/// otherwise.
Compares the contents of the memory address pointed to
by `_result` of `_length` bytes to the expected output.
Returns true if `_result` matches expected output, false
otherwise.
Compares the contents of the memory address pointed to by ` _result ` of ` _length ` bytes to the expected output . Returns true if ` _result ` matches expected output false otherwise .
bool isOutputExpected(evmc::result const& _run)
{
	if (_run.output_size != expectedOutputLength)
		return false;
	return memcmp(_run.output_data, expectedOutput, expectedOutputLength) == 0;
}
bool isOutputExpected ( evmc :: result const & _run ) { if ( _run . output_size != expectedOutputLength ) return false ; return memcmp ( _run . output_data , expectedOutput , expectedOutputLength ) == 0 ; }
Compares the contents of the memory address pointed to
by `_result` of `_length` bytes to the expected output.
Compares the contents of the memory address pointed to by ` _result ` of ` _length ` bytes to the expected output .