Skip to content
Commit 980a1a4c authored by Matt Smith's avatar Matt Smith Committed by Andrii Nakryiko
Browse files

selftests/bpf: Add checks for X__elf_bytes() skeleton helper



This patch adds two checks for the X__elf_bytes BPF skeleton helper
method. The first asserts that the pointer returned from the helper
method is valid, the second asserts that the provided size pointer is
set.

Signed-off-by: default avatarMatt Smith <alastorze@fb.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210901194439.3853238-4-alastorze@fb.com
parent a6cc6b34
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment