Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy and load instructions with OOB offsets #1454

Open
OlivierBBB opened this issue Oct 26, 2024 · 0 comments
Open

Copy and load instructions with OOB offsets #1454

OlivierBBB opened this issue Oct 26, 2024 · 0 comments
Assignees
Labels

Comments

@OlivierBBB
Copy link
Collaborator

OlivierBBB commented Oct 26, 2024

We want to test that out of bounds CDL returns 0, as expected, on the stack. We further want to test if out of bounds CDC performs the correct right 0-padding. The picture below is incomplete, as it describes only as subset of the test cases. In particular, we must test the mixed case where the output is both call data and 0-padding. Furthermore, the relevant opcodes are:

  • CALLDATALOAD
  • CALLDATACOPY
  • CODECOPY
  • EXTCODECOPY

Image

@OlivierBBB OlivierBBB self-assigned this Oct 26, 2024
@lorenzogentile404 lorenzogentile404 changed the title CALLDATALOAD test with OOB offsets CALLDATALOAD and CALLDATACOPY test with OOB offsets Jan 22, 2025
@lorenzogentile404 lorenzogentile404 changed the title CALLDATALOAD and CALLDATACOPY test with OOB offsets Copy and load instructions with OOB offsets Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant