Skip to content

Commit

Permalink
Fixes verification rules around call instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lichtso committed Sep 6, 2024
1 parent cf8066c commit 3036099
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/bytecode.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,5 +323,6 @@ Verification
- `hor64` is allowed
- The offset of jump instructions must be limited to the range of the current function
- `callx` source register is encoded in the src field
- The targets of syscalls (`call` instructions with src ≠ 0) must have been registered at verification time
- The targets of internal calls (`call` instructions with src ≠ 0) must have been registered at verification time
- The targets of syscalls (`call` instructions with src = 0) must have been registered at verification time
- `add64 reg, imm` can use `r11` as destination register

0 comments on commit 3036099

Please sign in to comment.