2020-12-09 08:13:39 +00:00
|
|
|
contract C {
|
|
|
|
function f(bytes calldata x, uint y) external pure {
|
2021-03-23 18:15:14 +00:00
|
|
|
require(x.length > 10);
|
2020-12-09 08:13:39 +00:00
|
|
|
x[8][0];
|
|
|
|
x[8][5*y];
|
|
|
|
}
|
|
|
|
}
|
2021-01-21 18:04:34 +00:00
|
|
|
// ====
|
2021-03-31 15:11:54 +00:00
|
|
|
// SMTEngine: all
|
2021-01-21 18:04:34 +00:00
|
|
|
// SMTIgnoreCex: yes
|
2020-12-09 08:13:39 +00:00
|
|
|
// ----
|
2021-03-31 15:11:54 +00:00
|
|
|
// 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.
|
2023-02-09 16:07:13 +00:00
|
|
|
// Info 1391: CHC: 3 verification condition(s) proved safe! Enable the model checker option "show proved safe" to see all of them.
|