solidity/test/cmdlineTests/standard_model_checker_targets_overflow_chc/output.json
2022-10-26 15:13:47 +05:00

51 lines
925 B
JSON

{
"errors":
[
{
"component": "general",
"errorCode": "4984",
"formattedMessage": "Warning: CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
Counterexample:
arr = []
a = 0x0
x = 1
Transaction trace:
test.constructor()
State: arr = []
test.f(0x0, 2)
--> A:9:7:
|
9 | \t\t\t\t\t\tx + type(uint).max;
| \t\t\t\t\t\t^^^^^^^^^^^^^^^^^^
",
"message": "CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
Counterexample:
arr = []
a = 0x0
x = 1
Transaction trace:
test.constructor()
State: arr = []
test.f(0x0, 2)",
"severity": "warning",
"sourceLocation":
{
"end": 203,
"file": "A",
"start": 185
},
"type": "Warning"
}
],
"sources":
{
"A":
{
"id": 0
}
}
}