We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PUSH1 0 RJUMPI label_true PUSH1 1 PUSH1 2 RJUMP exit label_true: PUSH1 3 PUSH1 4 exit: STOP
PUSH1 0 RJUMPI label_true label_false: CALLF 1 RJUMP exit label_true: CALLF 2 exit: STOP
start: PUSH1 0 PUSH1 1 POP POP RJUMP start
PUSH1 0 RJUMPV 2 case1 case2 PUSH1 01 PUSH1 02 RJUMP exit case1: PUSH1 03 PUSH1 04 RJUMP exit case2: PUSH1 05 PUSH1 06 exit: STOP
PUSH1 0 PUSH1 0 ADD STOP
PUSH1 0 PUSH1 MUL STOP
CALLF
CALLF 0 STOP
PUSH1 0 CALLF 1 STOP
PUSH1 2 CALLF 2 STOP
PUSH1 0
CALLF 3 STOP
JUMPF
JUMPF 0
PUSH1 0 JUMPF 1
PUSH1 0 PUSH1 0 PUSH1 0 JUMPF 1
PUSH1 0 PUSH1 0 JUMPF 2
PUSH1 0 PUSH1 0 PUSH1 0 PUSH1 0 JUMPF 2
JUMPF 3 STOP
PUSH1 0 POP STOP
start: RJUMP start
PUSH1 10 start: PUSH1 1 SWAP1 SUB RJUMPI end STOP end: RJUMP start
RETF
PUSH1 0 PUSH2 0 RETF
PUSH1 0 PUSH1 0 PUSH1 0 STOP
PUSH1 0 PUSH1 0 JUMPF 1
PUSH1 0 PUSH1 0 PUSH1 0 RETF
PUSH1 0 PUSH2 0 PUSH1 0 PUSH1 0 RETF
PUSH1 0 RJUMPI label_true PUSH1 1 label_true: PUSH1 2 STOP
PUSH1 0 RJUMPI label_true label_false: PUSH1 1 RJUMP exit label_true: PUSH1 2 PUSH1 3 exit: STOP
start: PUSH1 0 RJUMP start
PUSH1 0 PUSH1 0 PUSH1 0 start: POP RJUMP start
PUSH1 0 RJUMPV 2 case1 case2 PUSH1 01 RJUMP exit case1: PUSH1 02 PUSH1 03 RJUMP exit case2: PUSH1 03 PUSH1 04 PUSH1 05 exit: STOP
ADD STOP
PUSH1 0 ADD STOP
CALLF 1 STOP
PUSH1 0 CALLF 2 STOP
JUMPF 1
PUSH1 0 JUMPF 2
PUSH1 0 RJUMPI exit STOP exit: NOP
PUSH1 0 RJUMPV 2 case1 case2 INVALID case1: STOP case2: NOP
STOP PUSH1 0 STOP
STOP STOP
INVALID STOP
RJUMP start PUSH1 0 start: PUSH1 0 STOP
start: RJUMP start STOP
POP
PUSH1 0 RETF
PUSH1 0 PUSH1 0 CALLF 1 STOP
POP RJUMPI exit +
* 1024 +
PUSH1 1 PUSH1 2 PUSH1 3 CALLF 1 ADD PUSH1 0 SSTORE STOP
POP PUSH1 11 PUSH1 12 PUSH1 13 JUMPF 2
POP RETF
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Validation
Valid cases
PUSH1 0 RJUMPI label_true PUSH1 1 PUSH1 2 RJUMP exit label_true: PUSH1 3 PUSH1 4 exit: STOP
PUSH1 0 RJUMPI label_true label_false: CALLF 1 RJUMP exit label_true: CALLF 2 exit: STOP
start: PUSH1 0 PUSH1 1 POP POP RJUMP start
PUSH1 0 RJUMPV 2 case1 case2 PUSH1 01 PUSH1 02 RJUMP exit case1: PUSH1 03 PUSH1 04 RJUMP exit case2: PUSH1 05 PUSH1 06 exit: STOP
PUSH1 0 PUSH1 0 ADD STOP
PUSH1 0 PUSH1 MUL STOP
CALLF
CALLF 0 STOP
PUSH1 0 CALLF 1 STOP
PUSH1 2 CALLF 2 STOP
PUSH1 0
* 255 +CALLF 3 STOP
JUMPF
JUMPF 0
PUSH1 0 JUMPF 1
PUSH1 0 PUSH1 0 PUSH1 0 JUMPF 1
# 2 extra itemsPUSH1 0 PUSH1 0 JUMPF 2
PUSH1 0 PUSH1 0 PUSH1 0 PUSH1 0 JUMPF 2
# 2 extra itemsPUSH1 0
* 255 +JUMPF 3 STOP
PUSH1 0
* 512 +JUMPF 3 STOP
PUSH1 0
* 1024 +JUMPF 3 STOP
PUSH1 0 POP STOP
start: RJUMP start
PUSH1 10 start: PUSH1 1 SWAP1 SUB RJUMPI end STOP end: RJUMP start
PUSH1 0 JUMPF 1
RETF
PUSH1 0 PUSH2 0 RETF
PUSH1 0 PUSH1 0 PUSH1 0 STOP
PUSH1 0 PUSH1 0 JUMPF 1
PUSH1 0 PUSH1 0 PUSH1 0 RETF
PUSH1 0 PUSH2 0 PUSH1 0 PUSH1 0 RETF
PUSH1 0
* 512 +RETF
Invalid cases
PUSH1 0 RJUMPI label_true PUSH1 1 label_true: PUSH1 2 STOP
PUSH1 0 RJUMPI label_true label_false: PUSH1 1 RJUMP exit label_true: PUSH1 2 PUSH1 3 exit: STOP
PUSH1 0 RJUMPI label_true label_false: CALLF 1 RJUMP exit label_true: CALLF 2 exit: STOP
start: PUSH1 0 RJUMP start
-
PUSH1 0 PUSH1 0 PUSH1 0 start: POP RJUMP start
PUSH1 0 RJUMPV 2 case1 case2 PUSH1 01 RJUMP exit case1: PUSH1 02 PUSH1 03 RJUMP exit case2: PUSH1 03 PUSH1 04 PUSH1 05 exit: STOP
ADD STOP
PUSH1 0 ADD STOP
CALLF 1 STOP
PUSH1 0 CALLF 2 STOP
JUMPF 1
PUSH1 0 JUMPF 2
PUSH1 0
PUSH1 0 RJUMPI exit STOP exit: NOP
PUSH1 0 RJUMPV 2 case1 case2 INVALID case1: STOP case2: NOP
STOP PUSH1 0 STOP
STOP STOP
INVALID STOP
RJUMP start PUSH1 0 start: PUSH1 0 STOP
start: RJUMP start STOP
Execution
PUSH1 0 CALLF 1 STOP
POP
+PUSH1 0
* 1024 +POP
* 1024 +RETF
# should be valid by itself, but make function 0 invalidPUSH1 0
* 1024 CALLF 1 STOP` # should be valid by itself, but but invalid if function 1 pushesPUSH1 0 RETF
function types are [(0, 0), (2, 0)]
PUSH1 0 PUSH1 0 CALLF 1 STOP
POP RJUMPI exit +
PUSH1 0* 1024 +
POP* 1024 +
exit: RETF` # should be valid by itself, but make function 0 invalidPUSH1 1 PUSH1 2 PUSH1 3 CALLF 1 ADD PUSH1 0 SSTORE STOP
, check that sstored result is 3POP PUSH1 11 PUSH1 12 PUSH1 13 JUMPF 2
# extra items left on stackPOP RETF
The text was updated successfully, but these errors were encountered: