Files
android_kernel_xiaomi_sm8450/tools/testing/selftests/bpf/verifier
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
..
2019-01-27 21:37:45 -08:00
2019-01-27 21:37:45 -08:00
2019-06-19 02:22:52 +02:00
2019-06-19 02:22:52 +02:00
2019-01-27 21:37:45 -08:00
2019-01-27 21:37:45 -08:00
2019-04-16 10:18:15 +02:00
2019-01-27 21:37:45 -08:00