bpf_conformance icon indicating copy to clipboard operation
bpf_conformance copied to clipboard

Add negative tests to confirm unused fields must be zero

Open Alan-Jowett opened this issue 1 year ago • 1 comments

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.

Alan-Jowett avatar May 01 '23 21:05 Alan-Jowett