solidity/test/cmdlineTests/standard_model_checker_targets_overflow_bmc/output.json

56 lines
1.1 KiB
JSON

{
"errors":
[
{
"component": "general",
"errorCode": "2661",
"formattedMessage": "Warning: BMC: Overflow (resulting value larger than 2**256 - 1) happens here.
--> A:9:7:
|
9 | \t\t\t\t\t\tx + type(uint).max;
| \t\t\t\t\t\t^^^^^^^^^^^^^^^^^^
Note: Counterexample:
<result> = 2**256
a = 0
x = 1
Note: Callstack:
Note:
",
"message": "BMC: Overflow (resulting value larger than 2**256 - 1) happens here.",
"secondarySourceLocations":
[
{
"message": "Counterexample:
<result> = 2**256
a = 0
x = 1
"
},
{
"message": "Callstack:"
},
{
"message": ""
}
],
"severity": "warning",
"sourceLocation":
{
"end": 203,
"file": "A",
"start": 185
},
"type": "Warning"
}
],
"sources":
{
"A":
{
"id": 0
}
}
}