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

51 lines
875 B
JSON

{
"errors":
[
{
"component": "general",
"errorCode": "3944",
"formattedMessage": "Warning: CHC: Underflow (resulting value less than 0) happens here.
Counterexample:
arr = []
a = 0x0
x = 0
Transaction trace:
test.constructor()
State: arr = []
test.f(0x0, 0)
--> A:8:7:
|
8 | \t\t\t\t\t\t--x;
| \t\t\t\t\t\t^^^
",
"message": "CHC: Underflow (resulting value less than 0) happens here.
Counterexample:
arr = []
a = 0x0
x = 0
Transaction trace:
test.constructor()
State: arr = []
test.f(0x0, 0)",
"severity": "warning",
"sourceLocation":
{
"end": 177,
"file": "A",
"start": 174
},
"type": "Warning"
}
],
"sources":
{
"A":
{
"id": 0
}
}
}