Closed
Description
Overview
Designate 0xef
0xfe
as an invalid instruction.
Rationale
An invalid instruction can be used to abort the execution (i.e. duplicates as an ABORT instruction). It is very similar to how an invalid jump behaves.
We have discussed this as part of EVM2.0 (ewasm/design#39), where it was suggested that we prepend any non-EVM code (such as WASM code) so that executing it as EVM1 will not cause undefined behaviour.
Metadata
Metadata
Assignees
Labels
No labels