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

Add negative tests to confirm unused fields must be zero #120

Open
Alan-Jowett opened this issue May 1, 2023 · 1 comment
Open

Add negative tests to confirm unused fields must be zero #120

Alan-Jowett opened this issue May 1, 2023 · 1 comment

Comments

@Alan-Jowett
Copy link
Owner

The spec says that unused fields MUST be set to zero.

Note that most instructions do not use all of the fields. Unused fields must be set to zero.

There should be a tests to confirm the eBPF runtime rejects instructions that have unused fields set to non-zero.

@dthaler
Copy link
Collaborator

dthaler commented Feb 5, 2024

@Alan-Jowett did you decide that this one doesn't make sense? Not sure where we ended up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants