Skip to content

Commit

Permalink
doc: disclaimer on jumpdest validity (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
obatirou authored Jan 11, 2023
1 parent 66738d6 commit 6cba686
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ The HyVM private memory layout is as follows:

Thus, the actual memory of the host is starting at either 0x340 or 0x460 depending on the chosen configuration.

## Disclaimer on jumpdest validity

⚠️ The HyVM skips `jumpdest` (0x5B) validations that might appear in `push` opcodes values. This is OK if the executed bytecode is well formed (for instance, if you compiled it using `solc` or equivalent). But if you feed broken bytecode to the HyVM, this could lead to some discrepancies between the HyVM and the actual EVM behaviour.
There is an open issue to implement the validation if needed [here](https://github.com/oguimbal/HyVM/issues/16).

## Addresses

Expand Down

0 comments on commit 6cba686

Please sign in to comment.