diff options
author | 2023-12-11 13:20:09 -0700 | |
---|---|---|
committer | 2023-12-13 15:42:19 -0800 | |
commit | f04f2ce6018f3cb33ac96270b9153c2920ead190 (patch) | |
tree | ac228342dfc73df332fd8e2e6683eda4e974faba /tools/lib/bpf/libbpf_internal.h | |
parent | bpf: selftests: test_loader: Support __btf_path() annotation (diff) | |
download | wireguard-linux-f04f2ce6018f3cb33ac96270b9153c2920ead190.tar.xz wireguard-linux-f04f2ce6018f3cb33ac96270b9153c2920ead190.zip |
bpf: selftests: Add verifier tests for CO-RE bitfield writes
Add some tests that exercise BPF_CORE_WRITE_BITFIELD() macro. Since some
non-trivial bit fiddling is going on, make sure various edge cases (such
as adjacent bitfields and bitfields at the edge of structs) are
exercised.
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Link: https://lore.kernel.org/r/72698a1080fa565f541d5654705255984ea2a029.1702325874.git.dxu@dxuuu.xyz
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/lib/bpf/libbpf_internal.h')
0 files changed, 0 insertions, 0 deletions