solidity/test/cmdlineTests/standard_model_checker_invariants_contract_reentrancy/output.json

71 lines
1.4 KiB
JSON
Raw Normal View History

2022-10-26 10:13:47 +00:00
{
"errors":
[
{
"component": "general",
"errorCode": "9302",
"formattedMessage": "Warning: Return value of low-level calls not used.
2021-10-06 09:53:14 +00:00
--> A:7:7:
|
7 | \t\t\t\t\t\t_a.call(\"\");
| \t\t\t\t\t\t^^^^^^^^^^^
2022-10-26 10:13:47 +00:00
",
"message": "Return value of low-level calls not used.",
"severity": "warning",
"sourceLocation":
{
"end": 143,
"file": "A",
"start": 132
},
"type": "Warning"
},
{
"component": "general",
"errorCode": "6328",
"formattedMessage": "Warning: CHC: Assertion violation happens here.
2022-05-04 14:29:50 +00:00
Counterexample:
x = 0
_a = 0x0
2021-10-06 09:53:14 +00:00
2022-05-04 14:29:50 +00:00
Transaction trace:
test.constructor()
State: x = 0
test.f(0x0)
_a.call(\"\") -- untrusted external call
--> A:8:7:
|
8 | \t\t\t\t\t\tassert(x == 10);
| \t\t\t\t\t\t^^^^^^^^^^^^^^^
2022-10-26 10:13:47 +00:00
",
"message": "CHC: Assertion violation happens here.
2022-05-04 14:29:50 +00:00
Counterexample:
x = 0
_a = 0x0
2021-10-06 09:53:14 +00:00
2022-05-04 14:29:50 +00:00
Transaction trace:
test.constructor()
State: x = 0
test.f(0x0)
2022-10-26 10:13:47 +00:00
_a.call(\"\") -- untrusted external call",
"severity": "warning",
"sourceLocation":
{
"end": 166,
"file": "A",
"start": 151
},
"type": "Warning"
}
],
"sources":
{
"A":
{
"id": 0
}
}
}