mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[SMTChecker] encoding division and modulo operations using slack variables
This commit is contained in:
@@ -12,10 +12,5 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (83-108): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (141-166): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (76-114): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (170-184): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (263-278): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 3046: (141-166): BMC: Division by zero happens here.
|
||||
// Warning 3046: (263-278): BMC: Division by zero happens here.
|
||||
|
||||
@@ -9,8 +9,5 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (118-143): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (183-208): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (219-233): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 6838: (93-143): BMC: Condition is always false.
|
||||
// Warning 6838: (158-208): BMC: Condition is always false.
|
||||
|
||||
@@ -22,15 +22,5 @@ contract C {
|
||||
}
|
||||
// ----
|
||||
// Warning 6321: (253-260): Unnamed return variable can remain unassigned. Add an explicit return with value to all non-reverting code paths or name the variable.
|
||||
// Warning 1218: (94-109): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (113-126): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (180-195): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (199-212): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (275-290): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (303-318): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (349-364): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (377-392): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (322-336): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (396-410): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 3046: (94-109): BMC: Division by zero happens here.
|
||||
// Warning 3046: (180-195): BMC: Division by zero happens here.
|
||||
|
||||
@@ -17,8 +17,3 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (158-174): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (178-192): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (309-325): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (329-343): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 7812: (329-343): BMC: Assertion violation might happen here.
|
||||
|
||||
@@ -12,10 +12,5 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (83-108): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (141-166): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (76-114): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (170-184): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (263-278): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 3046: (141-166): BMC: Division by zero happens here.
|
||||
// Warning 3046: (263-278): BMC: Division by zero happens here.
|
||||
|
||||
@@ -9,6 +9,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (129-143): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (147-161): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 4661: (147-161): BMC: Assertion violation happens here.
|
||||
// Warning 6328: (147-161): CHC: Assertion violation happens here.
|
||||
|
||||
@@ -10,6 +10,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (163-184): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (188-209): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 4661: (188-209): BMC: Assertion violation happens here.
|
||||
// Warning 6328: (188-209): CHC: Assertion violation happens here.
|
||||
|
||||
@@ -10,6 +10,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (171-190): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (194-213): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 4661: (194-213): BMC: Assertion violation happens here.
|
||||
// Warning 6328: (194-213): CHC: Assertion violation happens here.
|
||||
|
||||
@@ -6,5 +6,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (127-132): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 2661: (127-132): BMC: Overflow (resulting value larger than 0x80 * 2**248 - 1) happens here.
|
||||
// Warning 4984: (127-132): CHC: Overflow (resulting value larger than 0x80 * 2**248 - 1) happens here.
|
||||
|
||||
@@ -7,4 +7,3 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (147-152): CHC: Error trying to invoke SMT solver.
|
||||
|
||||
@@ -10,4 +10,3 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (151-156): CHC: Error trying to invoke SMT solver.
|
||||
|
||||
@@ -12,4 +12,3 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (265-270): CHC: Error trying to invoke SMT solver.
|
||||
|
||||
@@ -7,4 +7,3 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (107-125): CHC: Error trying to invoke SMT solver.
|
||||
|
||||
@@ -7,5 +7,3 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (112-117): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (105-123): CHC: Error trying to invoke SMT solver.
|
||||
|
||||
@@ -7,5 +7,3 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (113-118): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (106-125): CHC: Error trying to invoke SMT solver.
|
||||
|
||||
@@ -7,5 +7,3 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (113-118): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (106-125): CHC: Error trying to invoke SMT solver.
|
||||
|
||||
@@ -7,5 +7,3 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (114-119): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (107-125): CHC: Error trying to invoke SMT solver.
|
||||
|
||||
@@ -9,4 +9,3 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (166-182): CHC: Error trying to invoke SMT solver.
|
||||
|
||||
@@ -9,5 +9,3 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (113-118): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 1218: (122-142): CHC: Error trying to invoke SMT solver.
|
||||
|
||||
@@ -9,4 +9,3 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (126-139): CHC: Error trying to invoke SMT solver.
|
||||
|
||||
@@ -9,4 +9,3 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (130-149): CHC: Error trying to invoke SMT solver.
|
||||
|
||||
@@ -6,6 +6,5 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 1218: (110-115): CHC: Error trying to invoke SMT solver.
|
||||
// Warning 4984: (110-115): CHC: Overflow (resulting value larger than 0x80 * 2**248 - 1) happens here.
|
||||
// Warning 3046: (110-115): BMC: Division by zero happens here.
|
||||
// Warning 2661: (110-115): BMC: Overflow (resulting value larger than 0x80 * 2**248 - 1) happens here.
|
||||
|
||||
Reference in New Issue
Block a user