|
1 | | -diff -druN Safe.sol Safe.sol |
2 | | ---- Safe.sol 2023-05-16 15:08:39 |
3 | | -+++ Safe.sol 2023-05-25 16:23:56 |
4 | | -@@ -76,7 +76,7 @@ |
5 | | - * so we create a Safe with 0 owners and threshold 1. |
6 | | - * This is an unusable Safe, perfect for the singleton |
7 | | - */ |
8 | | -- threshold = 1; |
9 | | -+ // threshold = 1; MUNGED: remove and add to constructor of the harness |
10 | | - } |
11 | | - |
12 | | - /** |
13 | 1 | diff -druN base/Executor.sol base/Executor.sol |
14 | | ---- base/Executor.sol 2023-05-16 15:08:39 |
15 | | -+++ base/Executor.sol 2023-05-25 16:23:31 |
16 | | -@@ -25,11 +25,9 @@ |
17 | | - Enum.Operation operation, |
| 2 | +--- base/Executor.sol 2023-06-22 14:42:39.769357540 +0200 |
| 3 | ++++ base/Executor.sol 2023-06-22 15:34:09.211725615 +0200 |
| 4 | +@@ -26,11 +26,13 @@ |
18 | 5 | uint256 txGas |
19 | 6 | ) internal returns (bool success) { |
20 | | -+ // MUNGED lets just be a bit more optimistic, `execute` does nothing for `DELEGATECALL` and always returns true |
21 | 7 | if (operation == Enum.Operation.DelegateCall) { |
22 | | -- // solhint-disable-next-line no-inline-assembly |
| 8 | ++ // MUNGED lets just be a bit more optimistic, `execute` does nothing for `DELEGATECALL` and always returns true |
| 9 | + // solhint-disable-next-line no-inline-assembly |
| 10 | + /// @solidity memory-safe-assembly |
23 | 11 | - assembly { |
24 | 12 | - success := delegatecall(txGas, to, add(data, 0x20), mload(data), 0, 0) |
25 | 13 | - } |
| 14 | ++ // assembly { |
| 15 | ++ // success := delegatecall(txGas, to, add(data, 0x20), mload(data), 0, 0) |
| 16 | ++ // } |
26 | 17 | + return true; |
27 | 18 | } else { |
28 | 19 | // solhint-disable-next-line no-inline-assembly |
29 | | - assembly { |
| 20 | + /// @solidity memory-safe-assembly |
| 21 | +diff -druN Safe.sol Safe.sol |
| 22 | +--- Safe.sol 2023-06-22 14:43:53.738861263 +0200 |
| 23 | ++++ Safe.sol 2023-06-22 15:28:00.436277677 +0200 |
| 24 | +@@ -76,7 +76,7 @@ |
| 25 | + * so we create a Safe with 0 owners and threshold 1. |
| 26 | + * This is an unusable Safe, perfect for the singleton |
| 27 | + */ |
| 28 | +- threshold = 1; |
| 29 | ++ // threshold = 1; MUNGED: remove and add to constructor of the harness |
| 30 | + } |
| 31 | + |
| 32 | + /** |
0 commit comments