2021-01-19 11:56:22 +00:00
|
|
|
Warning: BMC: Underflow (resulting value less than 0) happens here.
|
2021-03-31 15:31:23 +00:00
|
|
|
--> model_checker_targets_underflow_overflow_bmc/input.sol:7:3:
|
2021-01-19 11:56:22 +00:00
|
|
|
|
|
2021-03-31 15:31:23 +00:00
|
|
|
7 | --x;
|
2021-01-19 11:56:22 +00:00
|
|
|
| ^^^
|
|
|
|
Note: Counterexample:
|
|
|
|
<result> = (- 1)
|
|
|
|
a = 0
|
|
|
|
x = 0
|
|
|
|
|
|
|
|
Note: Callstack:
|
|
|
|
Note:
|
|
|
|
|
|
|
|
Warning: BMC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
2021-03-31 15:31:23 +00:00
|
|
|
--> model_checker_targets_underflow_overflow_bmc/input.sol:8:3:
|
2021-01-19 11:56:22 +00:00
|
|
|
|
|
2021-03-31 15:31:23 +00:00
|
|
|
8 | x + type(uint).max;
|
2021-01-19 11:56:22 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
Note: Counterexample:
|
|
|
|
<result> = 2**256
|
|
|
|
a = 0
|
|
|
|
x = 1
|
|
|
|
|
|
|
|
Note: Callstack:
|
|
|
|
Note:
|