Kumar Kartikeya Dwivedi
c48e51c8b0
bpf: selftests: Add selftests for module kfunc support
...
This adds selftests that tests the success and failure path for modules
kfuncs (in presence of invalid kfunc calls) for both libbpf and
gen_loader. It also adds a prog_test kfunc_btf_id_list so that we can
add module BTF ID set from bpf_testmod.
This also introduces a couple of test cases to verifier selftests for
validating whether we get an error or not depending on if invalid kfunc
call remains after elimination of unreachable instructions.
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211002011757.311265-10-memxor@gmail.com
2021-10-05 17:07:42 -07:00
..
2021-07-22 16:19:03 +02:00
2021-09-05 08:36:44 +09:00
2021-08-13 16:30:35 -07:00
2021-10-02 14:18:25 +01:00
2021-07-23 14:20:25 +01:00
2021-06-10 14:08:09 -07:00
2021-08-03 11:21:39 +01:00
2021-09-03 15:33:47 -07:00
2021-10-05 07:41:16 -07:00
2021-10-05 17:07:42 -07:00
2021-06-25 13:13:50 +02:00
2021-10-02 14:18:25 +01:00
2021-09-14 12:51:15 +01:00
2021-08-05 13:27:50 +01:00
2021-06-30 15:51:09 -07:00
2021-10-02 14:08:14 +01:00
2021-06-01 17:01:33 -07:00
2021-09-08 11:28:35 +01:00
2021-08-05 13:27:50 +01:00
2021-01-27 17:04:12 -08:00
2021-10-02 14:18:25 +01:00
2021-10-02 14:18:25 +01:00
2021-09-29 11:32:14 +01:00
2021-10-02 14:18:25 +01:00
2021-08-13 06:41:22 -07:00
2021-01-27 17:04:12 -08:00
2021-10-05 17:07:41 -07:00
2021-10-04 13:40:19 +01:00
2021-08-09 10:13:32 +01:00
2021-06-29 11:28:21 -07:00
2021-05-26 07:03:39 +02:00
2021-09-09 11:00:20 +01:00
2021-03-28 17:56:55 -07:00
2021-06-08 16:31:25 -07:00
2021-08-05 13:27:50 +01:00
2021-09-28 12:59:24 +01:00
2021-09-07 14:06:08 +01:00
2021-10-03 14:35:41 +01:00
2021-07-23 17:17:56 +01:00
2021-09-30 14:49:21 -07:00
2021-09-01 17:18:56 -07:00
2021-09-21 03:46:56 +02:00
2021-08-30 12:23:18 +01:00
2021-10-05 13:07:03 +01:00
2021-08-05 13:27:50 +01:00
2021-09-13 14:38:00 +01:00
2021-08-19 18:09:18 -07:00
2021-09-10 10:00:59 +01:00
2021-08-05 13:27:50 +01:00
2021-03-14 15:00:43 -07:00
2021-09-28 17:36:43 -07:00
2021-08-18 15:35:50 -07:00
2021-04-20 16:44:04 -07:00
2021-03-10 12:45:15 -08:00
2021-09-24 14:18:34 +01:00
2021-09-30 17:27:03 -07:00
2021-09-24 10:36:19 +01:00
2021-09-23 11:19:49 -07:00
2021-06-29 11:28:21 -07:00
2021-09-08 15:55:42 -07:00
2021-08-04 12:35:07 +01:00
2021-09-13 12:43:10 +01:00
2021-09-28 13:26:23 +01:00
2021-09-30 14:18:40 +01:00
2021-09-06 02:25:16 -04:00
2021-08-26 11:04:55 +02:00
2021-06-10 14:08:09 -07:00
2021-09-29 13:59:13 +02:00
2021-08-27 11:16:29 +01:00
2021-06-03 15:13:56 -07:00
2021-06-11 12:55:28 -07:00
2021-10-01 15:45:10 -07:00
2021-07-29 15:06:49 +01:00
2021-08-31 16:43:06 -07:00
2021-04-12 13:27:11 -07:00