Created
June 23, 2021 13:43
-
-
Save hrkrshnn/03381b12959e8f5709a6aadff7cd69da to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -u /tmp/oldyul.txt /tmp/newyul.txt | |
--- /tmp/oldyul.txt 2021-06-23 15:41:31.859708208 +0200 | |
+++ /tmp/newyul.txt 2021-06-23 15:41:06.418758767 +0200 | |
@@ -28,11 +28,11 @@ | |
{ | |
if callvalue() { revert(_1, _1) } | |
if slt(add(calldatasize(), not(3)), _1) { revert(_1, _1) } | |
- let expr_mpos := allocate_memory_1132() | |
+ let expr_mpos := allocate_memory_1140() | |
mstore(expr_mpos, 0x2a) | |
- write_to_memory_uint128(add(expr_mpos, 32)) | |
+ mstore(add(expr_mpos, 32), 0x17) | |
mstore(add(expr_mpos, 64), 0x22) | |
- mstore(add(expr_mpos, 96), 86) | |
+ mstore(add(expr_mpos, 96), 1) | |
let expr_mpos_1 := allocate_memory() | |
mstore(expr_mpos_1, 0x0c) | |
let _2 := add(expr_mpos_1, 32) | |
@@ -58,7 +58,7 @@ | |
mstore(add(headStart, 96), and(value3, _1)) | |
mstore(add(headStart, 128), and(value4, _1)) | |
} | |
- function allocate_memory_1132() -> memPtr | |
+ function allocate_memory_1140() -> memPtr | |
{ | |
memPtr := mload(64) | |
let newFreePtr := add(memPtr, 128) | |
@@ -98,7 +98,7 @@ | |
function dispatch_internal_in_out(fun) -> out | |
{ | |
switch fun | |
- case 86 { | |
+ case 1 { | |
out := and(sload(80), 0xffffffff) | |
} | |
default { | |
@@ -111,8 +111,6 @@ | |
{ | |
value := and(slot_value, 0xffffffffffffffff) | |
} | |
- function write_to_memory_uint128(memPtr) | |
- { mstore(memPtr, 23) } | |
} | |
} | |
} | |
Diff finished. Wed Jun 23 15:41:39 2021 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment