2022-10-26 10:13:47 +00:00
|
|
|
{
|
|
|
|
"errors":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"component": "general",
|
|
|
|
"errorCode": "6328",
|
|
|
|
"formattedMessage": "Warning: CHC: Assertion violation happens here.
|
2021-04-15 10:31:45 +00:00
|
|
|
Counterexample:
|
|
|
|
|
|
|
|
y = 0
|
|
|
|
|
|
|
|
Transaction trace:
|
|
|
|
A.constructor()
|
|
|
|
B.g(0)
|
|
|
|
--> Source:5:7:
|
|
|
|
|
|
|
|
|
5 | \t\t\t\t\t\tassert(y > 0);
|
|
|
|
| \t\t\t\t\t\t^^^^^^^^^^^^^
|
|
|
|
|
2022-10-26 10:13:47 +00:00
|
|
|
",
|
|
|
|
"message": "CHC: Assertion violation happens here.
|
2021-04-15 10:31:45 +00:00
|
|
|
Counterexample:
|
|
|
|
|
|
|
|
y = 0
|
|
|
|
|
|
|
|
Transaction trace:
|
|
|
|
A.constructor()
|
2022-10-26 10:13:47 +00:00
|
|
|
B.g(0)",
|
|
|
|
"severity": "warning",
|
|
|
|
"sourceLocation":
|
|
|
|
{
|
|
|
|
"end": 137,
|
|
|
|
"file": "Source",
|
|
|
|
"start": 124
|
|
|
|
},
|
|
|
|
"type": "Warning"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"component": "general",
|
|
|
|
"errorCode": "6328",
|
|
|
|
"formattedMessage": "Warning: CHC: Assertion violation happens here.
|
2021-04-15 10:31:45 +00:00
|
|
|
Counterexample:
|
|
|
|
|
|
|
|
x = 0
|
|
|
|
|
|
|
|
Transaction trace:
|
|
|
|
A.constructor()
|
|
|
|
A.f(0)
|
|
|
|
--> Source:10:7:
|
|
|
|
|
|
|
|
|
10 | \t\t\t\t\t\tassert(x > 0);
|
|
|
|
| \t\t\t\t\t\t^^^^^^^^^^^^^
|
|
|
|
|
2022-10-26 10:13:47 +00:00
|
|
|
",
|
|
|
|
"message": "CHC: Assertion violation happens here.
|
2021-04-15 10:31:45 +00:00
|
|
|
Counterexample:
|
|
|
|
|
|
|
|
x = 0
|
|
|
|
|
|
|
|
Transaction trace:
|
|
|
|
A.constructor()
|
2022-10-26 10:13:47 +00:00
|
|
|
A.f(0)",
|
|
|
|
"severity": "warning",
|
|
|
|
"sourceLocation":
|
|
|
|
{
|
|
|
|
"end": 231,
|
|
|
|
"file": "Source",
|
|
|
|
"start": 218
|
|
|
|
},
|
|
|
|
"type": "Warning"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"sources":
|
|
|
|
{
|
|
|
|
"Source":
|
|
|
|
{
|
|
|
|
"id": 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|