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

51 lines
860 B
JSON

{
"errors":
[
{
"component": "general",
"errorCode": "6328",
"formattedMessage": "Warning: CHC: Assertion violation happens here.
Counterexample:
arr = []
a = 0x0
x = 0
Transaction trace:
test.constructor()
State: arr = []
test.f(0x0, 1)
--> A:12:7:
|
12 | \t\t\t\t\t\tassert(x > 0);
| \t\t\t\t\t\t^^^^^^^^^^^^^
",
"message": "CHC: Assertion violation happens here.
Counterexample:
arr = []
a = 0x0
x = 0
Transaction trace:
test.constructor()
State: arr = []
test.f(0x0, 1)",
"severity": "warning",
"sourceLocation":
{
"end": 258,
"file": "A",
"start": 245
},
"type": "Warning"
}
],
"sources":
{
"A":
{
"id": 0
}
}
}