mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
473 B
Solidity
15 lines
473 B
Solidity
contract C {
|
|
function f(bytes calldata x, uint y) external pure {
|
|
require(x.length > 10);
|
|
x[8][0];
|
|
x[8][5*y];
|
|
}
|
|
}
|
|
// ====
|
|
// SMTEngine: all
|
|
// SMTIgnoreCex: yes
|
|
// ----
|
|
// Warning 4984: (111-114): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
|
// Warning 6368: (106-115): CHC: Out of bounds access happens here.
|
|
// Info 1391: CHC: 3 verification condition(s) proved safe! Enable the model checker option "show proved safe" to see all of them.
|