Commit fab456b
Tests: Pin 32-bit arithmetic on xdp_md.data as a verifier-level xfail
xdp_md.data is u32 in C, so ctx.data - k lowers to a 32-bit add on the
loaded value, exactly as C ranks it, and the verifier rejects it: it
tracks data as a packet pointer and prohibits 32-bit pointer arithmetic
(observed in CI). IR and llc succeed, so the entry is at the verifier
level. It flips to passing when packet-pointer fields get 64-bit
pointer rank (TODO in expr_pass._descriptor).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent dc628ee commit fab456b
2 files changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
0 commit comments