mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
44 lines
795 B
Plaintext
44 lines
795 B
Plaintext
|
Warning: BMC: Condition is always true.
|
||
|
--> model_checker_targets_default_bmc/input.sol:6:11:
|
||
|
|
|
||
|
6 | require(x >= 0);
|
||
|
| ^^^^^^
|
||
|
Note: Callstack:
|
||
|
|
||
|
Warning: BMC: Division by zero happens here.
|
||
|
--> model_checker_targets_default_bmc/input.sol:9:3:
|
||
|
|
|
||
|
9 | 2 / x;
|
||
|
| ^^^^^
|
||
|
Note: Counterexample:
|
||
|
<result> = 0
|
||
|
a = 0
|
||
|
x = 0
|
||
|
|
||
|
Note: Callstack:
|
||
|
Note:
|
||
|
|
||
|
Warning: BMC: Insufficient funds happens here.
|
||
|
--> model_checker_targets_default_bmc/input.sol:10:3:
|
||
|
|
|
||
|
10 | a.transfer(x);
|
||
|
| ^^^^^^^^^^^^^
|
||
|
Note: Counterexample:
|
||
|
a = 0
|
||
|
x = 0
|
||
|
|
||
|
Note: Callstack:
|
||
|
Note:
|
||
|
|
||
|
Warning: BMC: Assertion violation happens here.
|
||
|
--> model_checker_targets_default_bmc/input.sol:11:3:
|
||
|
|
|
||
|
11 | assert(x > 0);
|
||
|
| ^^^^^^^^^^^^^
|
||
|
Note: Counterexample:
|
||
|
a = 0
|
||
|
x = 0
|
||
|
|
||
|
Note: Callstack:
|
||
|
Note:
|