-
Notifications
You must be signed in to change notification settings - Fork 15
Jump destination validity #16
Copy link
Copy link
Open
Description
At this time, op_jump only checks if the destination is equal to 0x5B (jumpdest). But this is not sufficient to validate that the destination is valid: 0x5B could be a value inside a PUSH. More checks need to be done.
In case checks consume too much gas, those could be made optional as not verifying them would not prevent correct bytecode to be correctly executed (for example if bytecode was compiled using solc or equivalent).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels