linux/tools
Andrii Nakryiko 330a73a7b6 selftests/bpf: Add tests for libbpf-provided externs
Add a set of tests validating libbpf-provided extern variables. One crucial
feature that's tested is dead code elimination together with using invalid BPF
helper. CONFIG_MISSING is not supposed to exist and should always be specified
by libbpf as zero, which allows BPF verifier to correctly do branch pruning
and not fail validation, when invalid BPF helper is called from dead if branch.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191214014710.3449601-5-andriin@fb.com
2019-12-15 16:41:12 -08:00
..
accounting
arch perf/core improvements and fixes: 2019-11-29 06:56:05 +01:00
bpf bpftool: Generate externs datasec in BPF skeleton 2019-12-15 16:41:12 -08:00
build perf tools: Allow to link with libbpf dynamicaly 2019-11-26 11:17:45 -03:00
cgroup
debugging
firewire
firmware
gpio
hv tools: hv: add vmbus testing tool 2019-11-21 20:10:44 -05:00
iio
include libbpf: Support libbpf-provided extern variables 2019-12-15 16:41:12 -08:00
io_uring
kvm/kvm_stat
laptop
leds
lib bpftool: Generate externs datasec in BPF skeleton 2019-12-15 16:41:12 -08:00
memory-model
nfsd
objtool Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-11-26 15:04:47 -08:00
pci
pcmcia
perf Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf 2019-12-02 10:50:29 -08:00
power platform-drivers-x86 for v5.5-1 2019-12-01 18:24:25 -08:00
scripts
spi
testing selftests/bpf: Add tests for libbpf-provided externs 2019-12-15 16:41:12 -08:00
thermal/tmon
time
usb
virtio
vm
wmi
Makefile