linux_dsm_epyc7002/tools/testing/selftests/bpf
Daniel Borkmann 3123d8018d bpf: Add further test_verifier cases for record_func_key
Expand dummy prog generation such that we can easily check on return
codes and add few more test cases to make sure we keep on tracking
pruning behavior.

  # ./test_verifier
  [...]
  #1066/p XDP pkt read, pkt_data <= pkt_meta', bad access 1 OK
  #1067/p XDP pkt read, pkt_data <= pkt_meta', bad access 2 OK
  Summary: 1580 PASSED, 0 SKIPPED, 0 FAILED

Also verified that JIT dump of added test cases looks good.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/df7200b6021444fd369376d227de917357285b65.1576789878.git.daniel@iogearbox.net
2019-12-19 13:39:22 -08:00
..
gnu
include/uapi/linux
map_tests
prog_tests selftests/bpf: Add a fexit/bpf2bpf test with target bpf prog no callees 2019-12-04 21:34:42 -08:00
progs selftests/bpf: Add a fexit/bpf2bpf test with target bpf prog no callees 2019-12-04 21:34:42 -08:00
verifier bpf: Add further test_verifier cases for record_func_key 2019-12-19 13:39:22 -08:00
.gitignore selftests/bpf: Bring back c++ include/link test 2019-12-04 17:57:55 -08:00
bpf_legacy.h
bpf_rand.h
bpf_rlimit.h
bpf_trace_helpers.h bpf: Introduce BPF_TRACE_x helper for the tracing tests 2019-11-24 17:12:11 -08:00
bpf_util.h
cgroup_helpers.c
cgroup_helpers.h
config
flow_dissector_load.c
flow_dissector_load.h
get_cgroup_id_user.c
Makefile selftests/bpf: Bring back c++ include/link test 2019-12-04 17:57:55 -08:00
netcnt_common.h
tcp_client.py
tcp_server.py
test_align.c
test_bpftool_build.sh selftests, bpftool: Skip the build test if not in tree 2019-11-24 16:58:45 -08:00
test_btf.c
test_btf.h
test_cgroup_attach.c
test_cgroup_storage.c
test_cpp.cpp selftests/bpf: Bring back c++ include/link test 2019-12-04 17:57:55 -08:00
test_dev_cgroup.c
test_flow_dissector.c
test_flow_dissector.sh
test_ftrace.sh selftests/bpf: Test function_graph tracer and bpf trampoline together 2019-12-11 15:19:29 -08:00
test_hashmap.c
test_iptunnel_common.h
test_kmod.sh
test_lirc_mode2_user.c
test_lirc_mode2.sh
test_lpm_map.c
test_lru_map.c
test_lwt_ip_encap.sh
test_lwt_seg6local.sh
test_maps.c
test_maps.h
test_netcnt.c
test_offload.py
test_progs.c selftests/bpf: Integrate verbose verifier log into test_progs 2019-11-24 16:58:45 -08:00
test_progs.h selftests/bpf: Integrate verbose verifier log into test_progs 2019-11-24 16:58:45 -08:00
test_select_reuseport_common.h
test_select_reuseport.c
test_skb_cgroup_id_user.c selftests/bpf: Don't hard-code root cgroup id 2019-12-04 17:56:22 -08:00
test_skb_cgroup_id.sh
test_sock_addr.c
test_sock_addr.sh
test_sock_fields.c
test_sock.c
test_socket_cookie.c
test_sockmap_kern.h
test_sockmap.c selftests: bpf: correct perror strings 2019-11-28 22:40:30 -08:00
test_stub.c selftests/bpf: Integrate verbose verifier log into test_progs 2019-11-24 16:58:45 -08:00
test_sysctl.c
test_tag.c
test_tc_edt.sh
test_tc_tunnel.sh selftests, bpf: Fix test_tc_tunnel hanging 2019-11-18 21:31:49 +01:00
test_tcp_check_syncookie_user.c
test_tcp_check_syncookie.sh
test_tcpbpf_user.c selftests/bpf: De-flake test_tcpbpf 2019-12-04 18:01:05 -08:00
test_tcpbpf.h selftests/bpf: De-flake test_tcpbpf 2019-12-04 18:01:05 -08:00
test_tcpnotify_user.c
test_tcpnotify.h
test_tunnel.sh
test_verifier_log.c
test_verifier.c bpf: Add further test_verifier cases for record_func_key 2019-12-19 13:39:22 -08:00
test_xdp_meta.sh
test_xdp_redirect.sh
test_xdp_veth.sh
test_xdp_vlan_mode_generic.sh
test_xdp_vlan_mode_native.sh
test_xdp_vlan.sh
test_xdping.sh
trace_helpers.c
trace_helpers.h
urandom_read.c
with_addr.sh
with_tunnels.sh
xdping.c selftests: bpf: correct perror strings 2019-11-28 22:40:30 -08:00
xdping.h