Daniel Borkmann
23599ada0e
bpf: Add selftest cases for ctx_or_null argument type
Add various tests to make sure the verifier keeps catching them:
# ./test_verifier
[...]
#230/p pass ctx or null check, 1: ctx OK
#231/p pass ctx or null check, 2: null OK
#232/p pass ctx or null check, 3: 1 OK
#233/p pass ctx or null check, 4: ctx - const OK
#234/p pass ctx or null check, 5: null (connect) OK
#235/p pass ctx or null check, 6: null (bind) OK
#236/p pass ctx or null check, 7: ctx (bind) OK
#237/p pass ctx or null check, 8: null (bind) OK
[...]
Summary: 1595 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/c74758d07b1b678036465ef7f068a49e9efd3548.1585323121.git.daniel@iogearbox.net
2020-03-27 19:40:39 -07:00
..
2019-11-11 18:25:24 +00:00
2020-03-27 19:40:39 -07:00
2019-11-07 14:27:26 -07:00
2020-01-09 16:21:23 -07:00
2019-11-18 08:59:03 +01:00
2019-12-17 21:37:40 +05:30
2020-03-14 21:03:46 -07:00
2019-12-23 10:52:40 -07:00
2019-12-23 10:52:40 -07:00
2020-02-20 08:56:42 -07:00
2020-02-13 13:14:34 -07:00
2019-08-14 05:06:25 -03:00
2019-08-29 12:45:30 -04:00
2019-07-23 10:45:06 -06:00
2020-01-27 10:49:52 -07:00
2020-02-12 20:09:45 +01:00
2019-11-07 14:46:08 -07:00
2020-02-20 08:56:42 -07:00
2020-03-02 08:39:39 -07:00
2019-09-25 17:42:31 +02:00
2019-12-01 12:59:03 -08:00
2020-03-12 22:34:48 -07:00
2020-02-26 14:33:09 +01:00
2020-02-13 13:15:45 -07:00
2020-02-28 13:35:05 +01:00
2020-01-26 00:11:37 +11:00
2019-11-07 14:52:57 -07:00
2019-11-15 12:48:33 -08:00
2019-12-09 13:00:30 -08:00
2020-02-20 08:57:12 -07:00
2020-02-20 08:56:42 -07:00
2019-12-09 10:53:04 -07:00
2020-01-02 13:15:45 -08:00
2020-01-16 13:08:26 -07:00
2019-11-07 14:54:37 -07:00
2020-03-14 21:03:46 -07:00
2020-02-13 13:14:34 -07:00
2020-02-10 18:00:40 -07:00
2020-02-21 11:22:15 -08:00
2019-10-02 13:44:43 -06:00
2020-02-16 19:21:56 -08:00
2019-11-26 21:53:34 +01:00
2020-02-26 18:34:34 +01:00
2019-11-07 14:43:27 -07:00
2019-11-07 14:43:27 -07:00
2019-07-30 15:46:48 -06:00
2020-02-10 18:01:55 -07:00
2020-02-10 18:01:25 -07:00