solidity/test/cmdlineTests/standard_model_checker_solvers_z3/output.json

47 lines
842 B
JSON
Raw Normal View History

2022-10-26 10:13:47 +00:00
{
"errors":
[
{
"component": "general",
"errorCode": "6328",
"formattedMessage": "Warning: CHC: Assertion violation happens here.
2021-05-19 15:35:19 +00:00
Counterexample:
x = 0
Transaction trace:
C.constructor()
C.f(0)
--> A:4:47:
|
4 | contract C { function f(uint x) public pure { assert(x > 0); } }
| ^^^^^^^^^^^^^
2022-10-26 10:13:47 +00:00
",
"message": "CHC: Assertion violation happens here.
2021-05-19 15:35:19 +00:00
Counterexample:
x = 0
Transaction trace:
C.constructor()
2022-10-26 10:13:47 +00:00
C.f(0)",
"severity": "warning",
"sourceLocation":
{
"end": 119,
"file": "A",
"start": 106
},
"type": "Warning"
}
],
"sources":
{
"A":
{
"id": 0
}
}
}