Skip to content

Instantly share code, notes, and snippets.

@veox
Created January 16, 2020 14:27
Show Gist options
  • Select an option

  • Save veox/7db12b54e88b9217eadef4f99b37acd8 to your computer and use it in GitHub Desktop.

Select an option

Save veox/7db12b54e88b9217eadef4f99b37acd8 to your computer and use it in GitHub Desktop.

Revisions

  1. veox revised this gist Jan 16, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions disasm
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    6080604052348015600f57600080fd5b5060043610604e577c0100000000000000000000000000000000000000000000000000000000600035046341c0e1b581146053578063f1eae25c14605b575b600080fd5b60596061565b005b6059609d565b60005473ffffffffffffffffffffffffffffffffffffffff16331415609b5760005473ffffffffffffffffffffffffffffffffffffffff16ff5b565b6000805473ffffffffffffffffffffffffffffffffffffffff19163317905556fea165627a7a723058203230f97067f2d9f26cc43a9945289dd758190b45efa590bf0889d8f768e2fed40029
    00000: PUSH1 0x80
    00002: PUSH1 0x40
    00004: MSTORE
  2. veox created this gist Jan 16, 2020.
    91 changes: 91 additions & 0 deletions disasm
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,91 @@
    00000: PUSH1 0x80
    00002: PUSH1 0x40
    00004: MSTORE
    00005: CALLVALUE
    00006: DUP1
    00007: ISZERO
    00008: PUSH1 0x0f
    0000a: JUMPI
    0000b: PUSH1 0x00
    0000d: DUP1
    0000e: REVERT
    0000f: JUMPDEST
    00010: POP
    00011: PUSH1 0x04
    00013: CALLDATASIZE
    00014: LT
    00015: PUSH1 0x4e
    00017: JUMPI
    00018: PUSH29 0x0100000000000000000000000000000000000000000000000000000000
    00036: PUSH1 0x00
    00038: CALLDATALOAD
    00039: DIV
    0003a: PUSH4 0x41c0e1b5
    0003f: DUP2
    00040: EQ
    00041: PUSH1 0x53
    00043: JUMPI
    00044: DUP1
    00045: PUSH4 0xf1eae25c
    0004a: EQ
    0004b: PUSH1 0x5b
    0004d: JUMPI
    0004e: JUMPDEST
    0004f: PUSH1 0x00
    00051: DUP1
    00052: REVERT
    00053: JUMPDEST
    00054: PUSH1 0x59
    00056: PUSH1 0x61
    00058: JUMP
    00059: JUMPDEST
    0005a: STOP
    0005b: JUMPDEST
    0005c: PUSH1 0x59
    0005e: PUSH1 0x9d
    00060: JUMP
    00061: JUMPDEST
    00062: PUSH1 0x00
    00064: SLOAD
    00065: PUSH20 0xffffffffffffffffffffffffffffffffffffffff
    0007a: AND
    0007b: CALLER
    0007c: EQ
    0007d: ISZERO
    0007e: PUSH1 0x9b
    00080: JUMPI
    00081: PUSH1 0x00
    00083: SLOAD
    00084: PUSH20 0xffffffffffffffffffffffffffffffffffffffff
    00099: AND
    0009a: SELFDESTRUCT
    0009b: JUMPDEST
    0009c: JUMP
    0009d: JUMPDEST
    0009e: PUSH1 0x00
    000a0: DUP1
    000a1: SLOAD
    000a2: PUSH20 0xffffffffffffffffffffffffffffffffffffffff
    000b7: NOT
    000b8: AND
    000b9: CALLER
    000ba: OR
    000bb: SWAP1
    000bc: SSTORE
    000bd: JUMP
    000be: Missing opcode 0xfe
    000bf: LOG1
    000c0: PUSH6 0x627a7a723058
    000c7: SHA3
    000c8: ORIGIN
    000c9: ADDRESS
    000ca: Missing opcode 0xf9
    000cb: PUSH17 0x67f2d9f26cc43a9945289dd758190b45ef
    000dd: Missing opcode 0xa5
    000de: SWAP1
    000df: Missing opcode 0xbf
    000e0: ADDMOD
    000e1: DUP10
    000e2: Missing opcode 0xd8
    000e3: Missing opcode 0xf7
    incomplete push instruction at 228