solidity/test/cmdlineTests/standard_model_checker_targets_underflow_chc/output.json

51 lines
875 B
JSON
Raw Normal View History

2022-10-26 10:13:47 +00:00
{
"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^^^
2022-10-26 10:13:47 +00:00
",
"message": "CHC: Underflow (resulting value less than 0) happens here.
Counterexample:
arr = []
a = 0x0
x = 0
Transaction trace:
test.constructor()
State: arr = []
2022-10-26 10:13:47 +00:00
test.f(0x0, 0)",
"severity": "warning",
"sourceLocation":
{
"end": 177,
"file": "A",
"start": 174
},
"type": "Warning"
}
],
"sources":
{
"A":
{
"id": 0
}
}
}