Skip to content

Commit

Permalink
Merge pull request #29 from ipsilon/unreachable-sections
Browse files Browse the repository at this point in the history
Disallow unreachable sections
  • Loading branch information
gumb0 authored Dec 4, 2023
2 parents 96cd814 + a0b21f3 commit e3ed7cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/eof.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ Code executing within an EOF environment will behave differently than legacy cod
- `DATALOADN`'s `immediate + 32` must be within "static" data section bounds
- note that the data section bounds here mean the size declared in the header of the deploy container ("static" portion, known during `CREATE4`-time validation)
- the part of the data section which exceeds these bounds (the "dynamic" portion, known in runtime only) needs to be accessed using `DATALOAD` or `DATACOPY`
- no unreachable sections are allowed, i.e. every section is referenced by at least one non-recursive `CALLF` or `JUMPF`, and section 0 is implicitly reachable.

## Stack Validation

Expand Down

0 comments on commit e3ed7cc

Please sign in to comment.