mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #9900 from ethereum/smt_add_engine_prefix
[SMTChecker] Add engine prefix to verification target error messages
This commit is contained in:
commit
b34465c5ef
@ -836,7 +836,7 @@ void BMC::checkCondition(
|
||||
case smtutil::CheckResult::SATISFIABLE:
|
||||
{
|
||||
std::ostringstream message;
|
||||
message << _description << " happens here.";
|
||||
message << "BMC: " << _description << " happens here.";
|
||||
if (_callStack.size())
|
||||
{
|
||||
std::ostringstream modelMessage;
|
||||
@ -865,13 +865,13 @@ void BMC::checkCondition(
|
||||
case smtutil::CheckResult::UNSATISFIABLE:
|
||||
break;
|
||||
case smtutil::CheckResult::UNKNOWN:
|
||||
m_errorReporter.warning(_errorMightHappen, _location, _description + " might happen here.", secondaryLocation);
|
||||
m_errorReporter.warning(_errorMightHappen, _location, "BMC: " + _description + " might happen here.", secondaryLocation);
|
||||
break;
|
||||
case smtutil::CheckResult::CONFLICTING:
|
||||
m_errorReporter.warning(1584_error, _location, "At least two SMT solvers provided conflicting answers. Results might not be sound.");
|
||||
m_errorReporter.warning(1584_error, _location, "BMC: At least two SMT solvers provided conflicting answers. Results might not be sound.");
|
||||
break;
|
||||
case smtutil::CheckResult::ERROR:
|
||||
m_errorReporter.warning(1823_error, _location, "Error trying to invoke SMT solver.");
|
||||
m_errorReporter.warning(1823_error, _location, "BMC: Error trying to invoke SMT solver.");
|
||||
break;
|
||||
}
|
||||
|
||||
@ -919,13 +919,13 @@ void BMC::checkBooleanNotConstant(
|
||||
if (positiveResult == smtutil::CheckResult::SATISFIABLE)
|
||||
{
|
||||
solAssert(negatedResult == smtutil::CheckResult::UNSATISFIABLE, "");
|
||||
description = "Condition is always true.";
|
||||
description = "BMC: Condition is always true.";
|
||||
}
|
||||
else
|
||||
{
|
||||
solAssert(positiveResult == smtutil::CheckResult::UNSATISFIABLE, "");
|
||||
solAssert(negatedResult == smtutil::CheckResult::SATISFIABLE, "");
|
||||
description = "Condition is always false.";
|
||||
description = "BMC: Condition is always false.";
|
||||
}
|
||||
m_errorReporter.warning(
|
||||
6838_error,
|
||||
|
@ -1103,10 +1103,10 @@ pair<CheckResult, CHCSolverInterface::CexGraph> CHC::query(smtutil::Expression c
|
||||
case CheckResult::UNKNOWN:
|
||||
break;
|
||||
case CheckResult::CONFLICTING:
|
||||
m_outerErrorReporter.warning(1988_error, _location, "At least two SMT solvers provided conflicting answers. Results might not be sound.");
|
||||
m_outerErrorReporter.warning(1988_error, _location, "CHC: At least two SMT solvers provided conflicting answers. Results might not be sound.");
|
||||
break;
|
||||
case CheckResult::ERROR:
|
||||
m_outerErrorReporter.warning(1218_error, _location, "Error trying to invoke SMT solver.");
|
||||
m_outerErrorReporter.warning(1218_error, _location, "CHC: Error trying to invoke SMT solver.");
|
||||
break;
|
||||
}
|
||||
return {result, cex};
|
||||
@ -1264,21 +1264,21 @@ void CHC::checkAndReportTarget(
|
||||
m_outerErrorReporter.warning(
|
||||
_errorReporterId,
|
||||
_scope->location(),
|
||||
_satMsg,
|
||||
"CHC: " + _satMsg,
|
||||
SecondarySourceLocation().append("\nCounterexample:\n" + *cex, SourceLocation{})
|
||||
);
|
||||
else
|
||||
m_outerErrorReporter.warning(
|
||||
_errorReporterId,
|
||||
_scope->location(),
|
||||
_satMsg
|
||||
"CHC: " + _satMsg
|
||||
);
|
||||
}
|
||||
else if (!_unknownMsg.empty())
|
||||
m_outerErrorReporter.warning(
|
||||
_errorReporterId,
|
||||
_scope->location(),
|
||||
_unknownMsg
|
||||
"CHC: " + _unknownMsg
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -8,4 +8,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 2529: (82-89): Empty array "pop" detected here.
|
||||
// Warning 2529: (82-89): CHC: Empty array "pop" detected here.
|
||||
|
@ -8,4 +8,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 2529: (82-89): Empty array "pop" detected here.
|
||||
// Warning 2529: (82-89): CHC: Empty array "pop" detected here.
|
||||
|
@ -8,5 +8,5 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 2529: (82-89): Empty array "pop" detected here.
|
||||
// Warning 2529: (93-100): Empty array "pop" detected here.
|
||||
// Warning 2529: (82-89): CHC: Empty array "pop" detected here.
|
||||
// Warning 2529: (93-100): CHC: Empty array "pop" detected here.
|
||||
|
@ -8,4 +8,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 2529: (94-101): Empty array "pop" detected here.
|
||||
// Warning 2529: (94-101): CHC: Empty array "pop" detected here.
|
||||
|
@ -11,4 +11,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 2529: (122-129): Empty array "pop" detected here.
|
||||
// Warning 2529: (122-129): CHC: Empty array "pop" detected here.
|
||||
|
@ -11,4 +11,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 2529: (127-134): Empty array "pop" detected here.
|
||||
// Warning 2529: (127-134): CHC: Empty array "pop" detected here.
|
||||
|
@ -13,4 +13,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 2529: (82-89): Empty array "pop" detected here.
|
||||
// Warning 2529: (82-89): CHC: Empty array "pop" detected here.
|
||||
|
@ -10,4 +10,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (153-176): Assertion violation happens here.
|
||||
// Warning 6328: (153-176): CHC: Assertion violation happens here.
|
||||
|
@ -14,6 +14,6 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (198-224): Assertion violation happens here.
|
||||
// Warning 6328: (228-254): Assertion violation happens here.
|
||||
// Warning 6328: (258-281): Assertion violation happens here.
|
||||
// Warning 6328: (198-224): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (228-254): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (258-281): CHC: Assertion violation happens here.
|
||||
|
@ -16,7 +16,7 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (222-248): Assertion violation happens here.
|
||||
// Warning 6328: (252-278): Assertion violation happens here.
|
||||
// Warning 6328: (282-305): Assertion violation happens here.
|
||||
// Warning 6328: (309-335): Assertion violation happens here.
|
||||
// Warning 6328: (222-248): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (252-278): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (282-305): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (309-335): CHC: Assertion violation happens here.
|
||||
|
@ -7,4 +7,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 2529: (82-89): Empty array "pop" detected here.
|
||||
// Warning 2529: (82-89): CHC: Empty array "pop" detected here.
|
||||
|
@ -9,4 +9,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 2529: (111-121): Empty array "pop" detected here.
|
||||
// Warning 2529: (111-121): CHC: Empty array "pop" detected here.
|
||||
|
@ -7,4 +7,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 2529: (76-83): Empty array "pop" detected here.
|
||||
// Warning 2529: (76-83): CHC: Empty array "pop" detected here.
|
||||
|
@ -11,4 +11,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 2529: (150-157): Empty array "pop" detected here.
|
||||
// Warning 2529: (150-157): CHC: Empty array "pop" detected here.
|
||||
|
@ -10,5 +10,5 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 3944: (162-177): Underflow (resulting value less than 0) happens here.
|
||||
// Warning 6328: (150-184): Assertion violation happens here.
|
||||
// Warning 3944: (162-177): CHC: Underflow (resulting value less than 0) happens here.
|
||||
// Warning 6328: (150-184): CHC: Assertion violation happens here.
|
||||
|
@ -8,5 +8,5 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (113-139): Assertion violation happens here.
|
||||
// Warning 6328: (143-189): Assertion violation happens here.
|
||||
// Warning 6328: (113-139): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (143-189): CHC: Assertion violation happens here.
|
||||
|
@ -10,6 +10,6 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (122-148): Assertion violation happens here.
|
||||
// Warning 6328: (202-218): Assertion violation happens here.
|
||||
// Warning 6328: (222-278): Assertion violation happens here.
|
||||
// Warning 6328: (122-148): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (202-218): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (222-278): CHC: Assertion violation happens here.
|
||||
|
@ -12,5 +12,5 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 3944: (217-232): Underflow (resulting value less than 0) happens here.
|
||||
// Warning 6328: (205-239): Assertion violation happens here.
|
||||
// Warning 3944: (217-232): CHC: Underflow (resulting value less than 0) happens here.
|
||||
// Warning 6328: (205-239): CHC: Assertion violation happens here.
|
||||
|
@ -12,4 +12,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (167-188): Assertion violation happens here.
|
||||
// Warning 6328: (167-188): CHC: Assertion violation happens here.
|
||||
|
@ -18,6 +18,6 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (193-217): Assertion violation happens here.
|
||||
// Warning 6328: (309-333): Assertion violation happens here.
|
||||
// Warning 6328: (419-436): Assertion violation happens here.
|
||||
// Warning 6328: (193-217): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (309-333): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (419-436): CHC: Assertion violation happens here.
|
||||
|
@ -9,4 +9,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (111-144): Assertion violation happens here.
|
||||
// Warning 6328: (111-144): CHC: Assertion violation happens here.
|
||||
|
@ -8,4 +8,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (94-124): Assertion violation happens here.
|
||||
// Warning 6328: (94-124): CHC: Assertion violation happens here.
|
||||
|
@ -15,4 +15,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (184-213): Assertion violation happens here.
|
||||
// Warning 6328: (184-213): CHC: Assertion violation happens here.
|
||||
|
@ -53,4 +53,4 @@ contract MyConc{
|
||||
// ----
|
||||
// Warning 2519: (773-792): This declaration shadows an existing declaration.
|
||||
// Warning 2018: (1009-1086): Function state mutability can be restricted to view
|
||||
// Warning 4984: (985-1002): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4984: (985-1002): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
|
@ -30,4 +30,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (448-465): Assertion violation happens here.
|
||||
// Warning 6328: (448-465): CHC: Assertion violation happens here.
|
||||
|
@ -32,4 +32,4 @@ contract C {
|
||||
// ----
|
||||
// Warning 5740: (116-129): Unreachable code.
|
||||
// Warning 5740: (221-234): Unreachable code.
|
||||
// Warning 6328: (427-444): Assertion violation happens here.
|
||||
// Warning 6328: (427-444): CHC: Assertion violation happens here.
|
||||
|
@ -14,5 +14,5 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (183-197): Assertion violation happens here.
|
||||
// Warning 6838: (155-156): Condition is always false.
|
||||
// Warning 6328: (183-197): CHC: Assertion violation happens here.
|
||||
// Warning 6838: (155-156): BMC: Condition is always false.
|
||||
|
@ -15,4 +15,4 @@ contract c {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (227-236): Assertion violation happens here.
|
||||
// Warning 6328: (227-236): CHC: Assertion violation happens here.
|
||||
|
@ -17,5 +17,5 @@ contract c {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (202-218): Assertion violation happens here.
|
||||
// Warning 6328: (242-252): Assertion violation happens here.
|
||||
// Warning 6328: (202-218): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (242-252): CHC: Assertion violation happens here.
|
||||
|
@ -15,4 +15,4 @@ contract c {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (225-235): Assertion violation happens here.
|
||||
// Warning 6328: (225-235): CHC: Assertion violation happens here.
|
||||
|
@ -12,8 +12,8 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6838: (84-110): Condition is always false.
|
||||
// Warning 6838: (121-147): Condition is always true.
|
||||
// Warning 6838: (158-183): Condition is always false.
|
||||
// Warning 6838: (194-221): Condition is always false.
|
||||
// Warning 6838: (232-247): Condition is always true.
|
||||
// Warning 6838: (84-110): BMC: Condition is always false.
|
||||
// Warning 6838: (121-147): BMC: Condition is always true.
|
||||
// Warning 6838: (158-183): BMC: Condition is always false.
|
||||
// Warning 6838: (194-221): BMC: Condition is always false.
|
||||
// Warning 6838: (232-247): BMC: Condition is always true.
|
||||
|
@ -16,8 +16,8 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6838: (156-179): Condition is always false.
|
||||
// Warning 6838: (190-213): Condition is always true.
|
||||
// Warning 6838: (224-243): Condition is always false.
|
||||
// Warning 6838: (254-277): Condition is always false.
|
||||
// Warning 6838: (288-300): Condition is always true.
|
||||
// Warning 6838: (156-179): BMC: Condition is always false.
|
||||
// Warning 6838: (190-213): BMC: Condition is always true.
|
||||
// Warning 6838: (224-243): BMC: Condition is always false.
|
||||
// Warning 6838: (254-277): BMC: Condition is always false.
|
||||
// Warning 6838: (288-300): BMC: Condition is always true.
|
||||
|
@ -15,4 +15,4 @@ contract c {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (225-235): Assertion violation happens here.
|
||||
// Warning 6328: (225-235): CHC: Assertion violation happens here.
|
||||
|
@ -24,4 +24,4 @@ contract c {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (360-370): Assertion violation happens here.
|
||||
// Warning 6328: (360-370): CHC: Assertion violation happens here.
|
||||
|
@ -15,4 +15,4 @@ contract c {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (225-235): Assertion violation happens here.
|
||||
// Warning 6328: (225-235): CHC: Assertion violation happens here.
|
||||
|
@ -12,8 +12,8 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6838: (84-110): Condition is always true.
|
||||
// Warning 6838: (121-147): Condition is always true.
|
||||
// Warning 6838: (158-183): Condition is always true.
|
||||
// Warning 6838: (194-221): Condition is always true.
|
||||
// Warning 6838: (232-248): Condition is always false.
|
||||
// Warning 6838: (84-110): BMC: Condition is always true.
|
||||
// Warning 6838: (121-147): BMC: Condition is always true.
|
||||
// Warning 6838: (158-183): BMC: Condition is always true.
|
||||
// Warning 6838: (194-221): BMC: Condition is always true.
|
||||
// Warning 6838: (232-248): BMC: Condition is always false.
|
||||
|
@ -16,8 +16,8 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6838: (156-179): Condition is always true.
|
||||
// Warning 6838: (190-213): Condition is always true.
|
||||
// Warning 6838: (224-243): Condition is always true.
|
||||
// Warning 6838: (254-277): Condition is always true.
|
||||
// Warning 6838: (288-301): Condition is always false.
|
||||
// Warning 6838: (156-179): BMC: Condition is always true.
|
||||
// Warning 6838: (190-213): BMC: Condition is always true.
|
||||
// Warning 6838: (224-243): BMC: Condition is always true.
|
||||
// Warning 6838: (254-277): BMC: Condition is always true.
|
||||
// Warning 6838: (288-301): BMC: Condition is always false.
|
||||
|
@ -9,4 +9,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (159-173): Assertion violation happens here.
|
||||
// Warning 6328: (159-173): CHC: Assertion violation happens here.
|
||||
|
@ -9,4 +9,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (159-173): Assertion violation happens here.
|
||||
// Warning 6328: (159-173): CHC: Assertion violation happens here.
|
||||
|
@ -9,4 +9,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (161-175): Assertion violation happens here.
|
||||
// Warning 6328: (161-175): CHC: Assertion violation happens here.
|
||||
|
@ -17,4 +17,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (200-214): Assertion violation happens here.
|
||||
// Warning 6328: (200-214): CHC: Assertion violation happens here.
|
||||
|
@ -26,4 +26,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (423-445): Assertion violation happens here.
|
||||
// Warning 6328: (423-445): CHC: Assertion violation happens here.
|
||||
|
@ -28,4 +28,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (431-453): Assertion violation happens here.
|
||||
// Warning 6328: (431-453): CHC: Assertion violation happens here.
|
||||
|
@ -34,4 +34,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (528-565): Assertion violation happens here.
|
||||
// Warning 6328: (528-565): CHC: Assertion violation happens here.
|
||||
|
@ -29,4 +29,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (299-313): Assertion violation happens here.
|
||||
// Warning 6328: (299-313): CHC: Assertion violation happens here.
|
||||
|
@ -42,5 +42,5 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (452-466): Assertion violation happens here.
|
||||
// Warning 6328: (470-496): Assertion violation happens here.
|
||||
// Warning 6328: (452-466): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (470-496): CHC: Assertion violation happens here.
|
||||
|
@ -34,5 +34,5 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (381-395): Assertion violation happens here.
|
||||
// Warning 6328: (399-425): Assertion violation happens here.
|
||||
// Warning 6328: (381-395): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (399-425): CHC: Assertion violation happens here.
|
||||
|
@ -38,5 +38,5 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (435-461): Assertion violation happens here.
|
||||
// Warning 6328: (594-631): Assertion violation happens here.
|
||||
// Warning 6328: (435-461): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (594-631): CHC: Assertion violation happens here.
|
||||
|
@ -18,5 +18,5 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (189-203): Assertion violation happens here.
|
||||
// Warning 2661: (146-149): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 6328: (189-203): CHC: Assertion violation happens here.
|
||||
// Warning 2661: (146-149): BMC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
|
@ -25,4 +25,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (286-303): Assertion violation happens here.
|
||||
// Warning 6328: (286-303): CHC: Assertion violation happens here.
|
||||
|
@ -23,4 +23,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (256-273): Assertion violation happens here.
|
||||
// Warning 6328: (256-273): CHC: Assertion violation happens here.
|
||||
|
@ -27,4 +27,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (307-321): Assertion violation happens here.
|
||||
// Warning 6328: (307-321): CHC: Assertion violation happens here.
|
||||
|
@ -13,4 +13,4 @@ contract A is C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (152-166): Assertion violation happens here.
|
||||
// Warning 6328: (152-166): CHC: Assertion violation happens here.
|
||||
|
@ -4,4 +4,4 @@ contract A is C { constructor() C(2) { assert(a == 2); } }
|
||||
contract B is C { constructor() C(3) { assert(a == 3); } }
|
||||
contract J is C { constructor() C(3) { assert(a == 4); } }
|
||||
// ----
|
||||
// Warning 6328: (243-257): Assertion violation happens here.
|
||||
// Warning 6328: (243-257): CHC: Assertion violation happens here.
|
||||
|
@ -19,6 +19,6 @@ contract A is B {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 4984: (203-208): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4984: (244-249): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 6328: (232-250): Assertion violation happens here.
|
||||
// Warning 4984: (203-208): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4984: (244-249): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 6328: (232-250): CHC: Assertion violation happens here.
|
||||
|
@ -18,6 +18,6 @@ contract A is B {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 4984: (198-203): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4984: (207-212): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4984: (230-235): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4984: (198-203): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4984: (207-212): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4984: (230-235): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
|
@ -25,6 +25,6 @@ contract A is B2, B1 {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 4984: (200-205): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4984: (314-319): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 6328: (302-320): Assertion violation happens here.
|
||||
// Warning 4984: (200-205): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4984: (314-319): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 6328: (302-320): CHC: Assertion violation happens here.
|
||||
|
@ -25,6 +25,6 @@ contract A is B2, B1 {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 4984: (200-205): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4984: (314-319): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 6328: (302-320): Assertion violation happens here.
|
||||
// Warning 4984: (200-205): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4984: (314-319): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 6328: (302-320): CHC: Assertion violation happens here.
|
||||
|
@ -27,7 +27,7 @@ contract A is B2, B1 {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 4984: (160-165): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4984: (225-230): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4984: (241-246): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 6328: (334-350): Assertion violation happens here.
|
||||
// Warning 4984: (160-165): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4984: (225-230): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4984: (241-246): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 6328: (334-350): CHC: Assertion violation happens here.
|
||||
|
@ -20,4 +20,4 @@ contract A is B, B2 {
|
||||
}
|
||||
// ----
|
||||
// Warning 5667: (164-170): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
||||
// Warning 6328: (194-208): Assertion violation happens here.
|
||||
// Warning 6328: (194-208): CHC: Assertion violation happens here.
|
||||
|
@ -19,4 +19,4 @@ contract A is B {
|
||||
}
|
||||
// ----
|
||||
// Warning 5667: (194-200): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
||||
// Warning 6328: (224-238): Assertion violation happens here.
|
||||
// Warning 6328: (224-238): CHC: Assertion violation happens here.
|
||||
|
@ -17,4 +17,4 @@ contract A is B {
|
||||
}
|
||||
// ----
|
||||
// Warning 5667: (138-144): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
||||
// Warning 6328: (172-186): Assertion violation happens here.
|
||||
// Warning 6328: (172-186): CHC: Assertion violation happens here.
|
||||
|
@ -16,4 +16,4 @@ contract A is B {
|
||||
}
|
||||
// ----
|
||||
// Warning 5667: (138-144): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
||||
// Warning 6328: (150-164): Assertion violation happens here.
|
||||
// Warning 6328: (150-164): CHC: Assertion violation happens here.
|
||||
|
@ -27,4 +27,4 @@ contract A is B {
|
||||
}
|
||||
// ----
|
||||
// Warning 5667: (254-260): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
||||
// Warning 6328: (284-298): Assertion violation happens here.
|
||||
// Warning 6328: (284-298): CHC: Assertion violation happens here.
|
||||
|
@ -32,4 +32,4 @@ contract A is B {
|
||||
}
|
||||
// ----
|
||||
// Warning 5667: (296-302): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
||||
// Warning 6328: (357-372): Assertion violation happens here.
|
||||
// Warning 6328: (357-372): CHC: Assertion violation happens here.
|
||||
|
@ -25,5 +25,5 @@ contract A is B {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 4984: (247-252): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 6328: (328-342): Assertion violation happens here.
|
||||
// Warning 4984: (247-252): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 6328: (328-342): CHC: Assertion violation happens here.
|
||||
|
@ -23,4 +23,4 @@ contract B is C {
|
||||
contract A is B {
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (266-280): Assertion violation happens here.
|
||||
// Warning 6328: (266-280): CHC: Assertion violation happens here.
|
||||
|
@ -14,4 +14,4 @@ contract A is C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (188-202): Assertion violation happens here.
|
||||
// Warning 6328: (188-202): CHC: Assertion violation happens here.
|
||||
|
@ -13,5 +13,5 @@ contract A is C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (134-148): Assertion violation happens here.
|
||||
// Warning 6328: (152-168): Assertion violation happens here.
|
||||
// Warning 6328: (134-148): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (152-168): CHC: Assertion violation happens here.
|
||||
|
@ -13,4 +13,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (141-155): Assertion violation happens here.
|
||||
// Warning 6328: (141-155): CHC: Assertion violation happens here.
|
||||
|
@ -13,4 +13,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (145-159): Assertion violation happens here.
|
||||
// Warning 6328: (145-159): CHC: Assertion violation happens here.
|
||||
|
@ -15,4 +15,4 @@ contract C is B {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (165-179): Assertion violation happens here.
|
||||
// Warning 6328: (165-179): CHC: Assertion violation happens here.
|
||||
|
@ -13,5 +13,5 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 4984: (115-120): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 6328: (162-176): Assertion violation happens here.
|
||||
// Warning 4984: (115-120): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 6328: (162-176): CHC: Assertion violation happens here.
|
||||
|
@ -9,4 +9,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (116-132): Assertion violation happens here.
|
||||
// Warning 6328: (116-132): CHC: Assertion violation happens here.
|
||||
|
@ -16,4 +16,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (209-223): Assertion violation happens here.
|
||||
// Warning 6328: (209-223): CHC: Assertion violation happens here.
|
||||
|
@ -24,5 +24,5 @@ contract C
|
||||
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (209-223): Assertion violation happens here.
|
||||
// Warning 6328: (321-335): Assertion violation happens here.
|
||||
// Warning 6328: (209-223): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (321-335): CHC: Assertion violation happens here.
|
||||
|
@ -18,4 +18,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (261-277): Assertion violation happens here.
|
||||
// Warning 6328: (261-277): CHC: Assertion violation happens here.
|
||||
|
@ -17,4 +17,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 4661: (297-321): Assertion violation happens here.
|
||||
// Warning 4661: (297-321): BMC: Assertion violation happens here.
|
||||
|
@ -16,4 +16,4 @@ contract D
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (191-206): Assertion violation happens here.
|
||||
// Warning 6328: (191-206): CHC: Assertion violation happens here.
|
||||
|
@ -12,4 +12,4 @@ contract C
|
||||
}
|
||||
|
||||
// ----
|
||||
// Warning 6328: (161-174): Assertion violation happens here.
|
||||
// Warning 6328: (161-174): CHC: Assertion violation happens here.
|
||||
|
@ -16,4 +16,4 @@ contract C
|
||||
}
|
||||
|
||||
// ----
|
||||
// Warning 6328: (229-242): Assertion violation happens here.
|
||||
// Warning 6328: (229-242): CHC: Assertion violation happens here.
|
||||
|
@ -12,4 +12,4 @@ contract C
|
||||
}
|
||||
|
||||
// ----
|
||||
// Warning 6328: (163-176): Assertion violation happens here.
|
||||
// Warning 6328: (163-176): CHC: Assertion violation happens here.
|
||||
|
@ -17,5 +17,5 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (245-261): Assertion violation happens here.
|
||||
// Warning 6328: (245-261): CHC: Assertion violation happens here.
|
||||
// Warning 8364: (228-229): Assertion checker does not yet implement type type(library L)
|
||||
|
@ -13,4 +13,4 @@ contract C
|
||||
}
|
||||
|
||||
// ----
|
||||
// Warning 6328: (144-157): Assertion violation happens here.
|
||||
// Warning 6328: (144-157): CHC: Assertion violation happens here.
|
||||
|
@ -14,4 +14,4 @@ contract C
|
||||
}
|
||||
|
||||
// ----
|
||||
// Warning 6328: (152-165): Assertion violation happens here.
|
||||
// Warning 6328: (152-165): CHC: Assertion violation happens here.
|
||||
|
@ -5,4 +5,4 @@ contract C
|
||||
function f(bool x) public pure { require(x); for (;x;) {} }
|
||||
}
|
||||
// ----
|
||||
// Warning 6838: (98-99): Condition is always true.
|
||||
// Warning 6838: (98-99): BMC: Condition is always true.
|
||||
|
@ -4,4 +4,4 @@ contract C
|
||||
function f(bool x) public pure { require(x); if (x) {} }
|
||||
}
|
||||
// ----
|
||||
// Warning 6838: (95-96): Condition is always true.
|
||||
// Warning 6838: (95-96): BMC: Condition is always true.
|
||||
|
@ -5,4 +5,4 @@ contract C
|
||||
function f(bool x) public pure { x = true; require(x); }
|
||||
}
|
||||
// ----
|
||||
// Warning 6838: (98-99): Condition is always true.
|
||||
// Warning 6838: (98-99): BMC: Condition is always true.
|
||||
|
@ -5,4 +5,4 @@ contract C
|
||||
function f(bool x) public pure { require(x); while (x) {} }
|
||||
}
|
||||
// ----
|
||||
// Warning 6838: (99-100): Condition is always true.
|
||||
// Warning 6838: (99-100): BMC: Condition is always true.
|
||||
|
@ -17,4 +17,4 @@ contract A is B {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (254-268): Assertion violation happens here.
|
||||
// Warning 6328: (254-268): CHC: Assertion violation happens here.
|
||||
|
@ -21,4 +21,4 @@ contract A is B {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (274-288): Assertion violation happens here.
|
||||
// Warning 6328: (274-288): CHC: Assertion violation happens here.
|
||||
|
@ -21,5 +21,5 @@ contract C{
|
||||
}
|
||||
// ----
|
||||
// Warning 5667: (70-76): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
||||
// Warning 2661: (156-159): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4144: (238-241): Underflow (resulting value less than 0) happens here.
|
||||
// Warning 2661: (156-159): BMC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4144: (238-241): BMC: Underflow (resulting value less than 0) happens here.
|
||||
|
@ -21,10 +21,10 @@ contract C{
|
||||
}
|
||||
// ----
|
||||
// Warning 5667: (70-76): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
||||
// Warning 6328: (138-152): Assertion violation happens here.
|
||||
// Warning 6328: (170-184): Assertion violation happens here.
|
||||
// Warning 6328: (220-234): Assertion violation happens here.
|
||||
// Warning 6328: (245-259): Assertion violation happens here.
|
||||
// Warning 6328: (82-96): Assertion violation happens here.
|
||||
// Warning 2661: (156-159): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4144: (238-241): Underflow (resulting value less than 0) happens here.
|
||||
// Warning 6328: (138-152): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (170-184): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (220-234): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (245-259): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (82-96): CHC: Assertion violation happens here.
|
||||
// Warning 2661: (156-159): BMC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4144: (238-241): BMC: Underflow (resulting value less than 0) happens here.
|
||||
|
@ -17,5 +17,5 @@ contract C is A {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 4144: (100-103): Underflow (resulting value less than 0) happens here.
|
||||
// Warning 4144: (100-103): Underflow (resulting value less than 0) happens here.
|
||||
// Warning 4144: (100-103): BMC: Underflow (resulting value less than 0) happens here.
|
||||
// Warning 4144: (100-103): BMC: Underflow (resulting value less than 0) happens here.
|
||||
|
@ -17,8 +17,8 @@ contract C is A {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (82-96): Assertion violation happens here.
|
||||
// Warning 6328: (148-162): Assertion violation happens here.
|
||||
// Warning 6328: (180-194): Assertion violation happens here.
|
||||
// Warning 4144: (100-103): Underflow (resulting value less than 0) happens here.
|
||||
// Warning 4144: (100-103): Underflow (resulting value less than 0) happens here.
|
||||
// Warning 6328: (82-96): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (148-162): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (180-194): CHC: Assertion violation happens here.
|
||||
// Warning 4144: (100-103): BMC: Underflow (resulting value less than 0) happens here.
|
||||
// Warning 4144: (100-103): BMC: Underflow (resulting value less than 0) happens here.
|
||||
|
@ -21,7 +21,7 @@ contract C{
|
||||
}
|
||||
// ----
|
||||
// Warning 5667: (70-76): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
||||
// Warning 2661: (156-159): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 2661: (163-166): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 2661: (234-237): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4144: (234-237): Underflow (resulting value less than 0) happens here.
|
||||
// Warning 2661: (156-159): BMC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 2661: (163-166): BMC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 2661: (234-237): BMC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4144: (234-237): BMC: Underflow (resulting value less than 0) happens here.
|
||||
|
@ -21,10 +21,10 @@ contract C{
|
||||
}
|
||||
// ----
|
||||
// Warning 5667: (70-76): Unused function parameter. Remove or comment out the variable name to silence this warning.
|
||||
// Warning 6328: (138-152): Assertion violation happens here.
|
||||
// Warning 6328: (184-198): Assertion violation happens here.
|
||||
// Warning 6328: (82-96): Assertion violation happens here.
|
||||
// Warning 2661: (156-159): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 2661: (163-166): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 2661: (234-237): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4144: (234-237): Underflow (resulting value less than 0) happens here.
|
||||
// Warning 6328: (138-152): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (184-198): CHC: Assertion violation happens here.
|
||||
// Warning 6328: (82-96): CHC: Assertion violation happens here.
|
||||
// Warning 2661: (156-159): BMC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 2661: (163-166): BMC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 2661: (234-237): BMC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4144: (234-237): BMC: Underflow (resulting value less than 0) happens here.
|
||||
|
@ -19,7 +19,7 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6328: (136-155): Assertion violation happens here.
|
||||
// Warning 4984: (229-234): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4984: (327-332): Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 6328: (136-155): CHC: Assertion violation happens here.
|
||||
// Warning 4984: (229-234): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 4984: (327-332): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
|
||||
// Warning 8364: (300-302): Assertion checker does not yet implement type type(library l1)
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user