solidity/test/cmdlineTests/standard_model_checker_engine_bmc/output.json

52 lines
1.1 KiB
JSON
Raw Normal View History

2022-10-26 10:13:47 +00:00
{
"errors":
[
{
"component": "general",
"errorCode": "4661",
"formattedMessage": "Warning: BMC: Assertion violation happens here.
2020-12-01 13:46:26 +00:00
--> A:4:47:
|
4 | contract C { function f(uint x) public pure { assert(x > 0); } }
| ^^^^^^^^^^^^^
Note: Counterexample:
x = 0
2020-12-01 13:46:26 +00:00
Note: Callstack:
Note:
2022-10-26 10:13:47 +00:00
",
"message": "BMC: Assertion violation happens here.",
"secondarySourceLocations":
[
{
"message": "Counterexample:
x = 0
2022-10-26 10:13:47 +00:00
"
},
{
"message": "Callstack:"
},
{
"message": ""
}
],
"severity": "warning",
"sourceLocation":
{
"end": 119,
"file": "A",
"start": 106
},
"type": "Warning"
}
],
"sources":
{
"A":
{
"id": 0
}
}
}