mirror of https://github.com/crytic/slither
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
445 lines
3.5 KiB
445 lines
3.5 KiB
## Contract evm instructions: Test ##
|
|
PUSH1 0x80
|
|
PUSH1 0x40
|
|
MSTORE
|
|
CALLVALUE
|
|
DUP1
|
|
ISZERO
|
|
PUSH2 0x10
|
|
JUMPI
|
|
PUSH1 0x0
|
|
DUP1
|
|
REVERT
|
|
JUMPDEST
|
|
POP
|
|
CALLER
|
|
PUSH1 0x0
|
|
DUP1
|
|
PUSH2 0x100
|
|
EXP
|
|
DUP2
|
|
SLOAD
|
|
DUP2
|
|
PUSH20 0xffffffffffffffffffffffffffffffffffffffff
|
|
MUL
|
|
NOT
|
|
AND
|
|
SWAP1
|
|
DUP4
|
|
PUSH20 0xffffffffffffffffffffffffffffffffffffffff
|
|
AND
|
|
MUL
|
|
OR
|
|
SWAP1
|
|
SSTORE
|
|
POP
|
|
PUSH1 0xfa
|
|
DUP1
|
|
PUSH2 0x5f
|
|
PUSH1 0x0
|
|
CODECOPY
|
|
PUSH1 0x0
|
|
RETURN
|
|
STOP
|
|
PUSH1 0x80
|
|
PUSH1 0x40
|
|
MSTORE
|
|
PUSH1 0x4
|
|
CALLDATASIZE
|
|
LT
|
|
PUSH1 0x49
|
|
JUMPI
|
|
PUSH1 0x0
|
|
CALLDATALOAD
|
|
PUSH29 0x100000000000000000000000000000000000000000000000000000000
|
|
SWAP1
|
|
DIV
|
|
PUSH4 0xffffffff
|
|
AND
|
|
DUP1
|
|
PUSH4 0x14ba3f12
|
|
EQ
|
|
PUSH1 0x4e
|
|
JUMPI
|
|
DUP1
|
|
PUSH4 0xc2985578
|
|
EQ
|
|
PUSH1 0x8c
|
|
JUMPI
|
|
JUMPDEST
|
|
PUSH1 0x0
|
|
DUP1
|
|
REVERT
|
|
JUMPDEST
|
|
CALLVALUE
|
|
DUP1
|
|
ISZERO
|
|
PUSH1 0x59
|
|
JUMPI
|
|
PUSH1 0x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DEST
|
|
POP
|
|
PUSH1 0x9e
|
|
PUSH1 0xc1
|
|
JUMP
|
|
JUMPDEST
|
|
PUSH1 0x40
|
|
MLOAD
|
|
DUP1
|
|
DUP3
|
|
DUP2
|
|
MSTORE
|
|
PUSH1 0x20
|
|
ADD
|
|
SWAP2
|
|
POP
|
|
POP
|
|
PUSH1 0x40
|
|
MLOAD
|
|
DUP1
|
|
SWAP2
|
|
SUB
|
|
SWAP1
|
|
RETURN
|
|
JUMPDEST
|
|
PUSH1 0x0
|
|
PUSH1 0xa
|
|
DUP3
|
|
ADD
|
|
SWAP1
|
|
POP
|
|
SWAP2
|
|
SWAP1
|
|
POP
|
|
JUMP
|
|
JUMPDEST
|
|
PUSH1 0x0
|
|
DUP1
|
|
PUSH1 0xa
|
|
DUP2
|
|
ADD
|
|
SWAP2
|
|
POP
|
|
POP
|
|
SWAP1
|
|
JUMP
|
|
STOP
|
|
## Function evm instructions: constructor ##
|
|
PUSH1 0x80
|
|
PUSH1 0x40
|
|
MSTORE
|
|
CALLVALUE
|
|
DUP1
|
|
ISZERO
|
|
PUSH2 0x10
|
|
JUMPI
|
|
PUSH1 0x0
|
|
DUP1
|
|
REVERT
|
|
JUMPDEST
|
|
POP
|
|
CALLER
|
|
PUSH1 0x0
|
|
DUP1
|
|
PUSH2 0x100
|
|
EXP
|
|
DUP2
|
|
SLOAD
|
|
DUP2
|
|
PUSH20 0xffffffffffffffffffffffffffffffffffffffff
|
|
MUL
|
|
NOT
|
|
AND
|
|
SWAP1
|
|
DUP4
|
|
PUSH20 0xffffffffffffffffffffffffffffffffffffffff
|
|
AND
|
|
MUL
|
|
OR
|
|
SWAP1
|
|
SSTORE
|
|
POP
|
|
PUSH1 0xfa
|
|
DUP1
|
|
PUSH2 0x5f
|
|
PUSH1 0x0
|
|
CODECOPY
|
|
PUSH1 0x0
|
|
RETURN
|
|
## Function evm instructions: foo ##
|
|
JUMPDEST
|
|
CALLVALUE
|
|
DUP1
|
|
ISZERO
|
|
PUSH1 0x97
|
|
JUMPI
|
|
PUSH1 0x0
|
|
DUP1
|
|
REVERT
|
|
JUMPDEST
|
|
POP
|
|
PUSH1 0x9e
|
|
PUSH1 0xc1
|
|
JUMP
|
|
JUMPDEST
|
|
PUSH1 0x40
|
|
MLOAD
|
|
DUP1
|
|
DUP3
|
|
DUP2
|
|
MSTORE
|
|
PUSH1 0x20
|
|
ADD
|
|
SWAP2
|
|
POP
|
|
POP
|
|
PUSH1 0x40
|
|
MLOAD
|
|
DUP1
|
|
SWAP2
|
|
SUB
|
|
SWAP1
|
|
RETURN
|
|
JUMPDEST
|
|
PUSH1 0x0
|
|
DUP1
|
|
PUSH1 0xa
|
|
DUP2
|
|
ADD
|
|
SWAP2
|
|
POP
|
|
POP
|
|
SWAP1
|
|
JUMP
|
|
Node evm instructions: ENTRY_POINT None
|
|
JUMPDEST
|
|
CALLVALUE
|
|
POP
|
|
PUSH1 0x9e
|
|
PUSH1 0xc1
|
|
JUMP
|
|
JUMPDEST
|
|
PUSH1 0x40
|
|
MLOAD
|
|
DUP1
|
|
DUP3
|
|
DUP2
|
|
MSTORE
|
|
PUSH1 0x20
|
|
ADD
|
|
SWAP2
|
|
POP
|
|
POP
|
|
PUSH1 0x40
|
|
MLOAD
|
|
DUP1
|
|
SWAP2
|
|
SUB
|
|
SWAP1
|
|
RETURN
|
|
JUMPDEST
|
|
PUSH1 0x0
|
|
POP
|
|
SWAP1
|
|
JUMP
|
|
Node evm instructions: NEW VARIABLE None
|
|
DUP1
|
|
Node evm instructions: RETURN (i + 10)
|
|
PUSH1 0xa
|
|
DUP2
|
|
ADD
|
|
SWAP2
|
|
POP
|
|
|