Andrii Nakryiko
be7dbd275d
selftests/bpf: avoid mark_all_scalars_precise() trigger in one of iter tests
...
iter_pass_iter_ptr_to_subprog subtest is relying on actual array size
being passed as subprog parameter. This combined with recent fixes to
precision tracking in conditional jumps ([0]) is now causing verifier to
backtrack all the way to the point where sum() and fill() subprogs are
called, at which point precision backtrack bails out and forces all the
states to have precise SCALAR registers. This in turn causes each
possible value of i within fill() and sum() subprogs to cause
a different non-equivalent state, preventing iterator code to converge.
For now, change the test to assume fixed size of passed in array. Once
BPF verifier supports precision tracking across subprogram calls, these
changes will be reverted as unnecessary.
[0] 71b547f56124 ("bpf: Fix incorrect verifier pruning due to missing register precision taints")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20230424235128.1941726-1-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2023-04-24 17:46:44 -07:00
..
2022-02-28 16:28:40 +01:00
2023-03-31 11:36:18 -07:00
2022-08-29 17:00:41 +02:00
2022-08-29 17:00:41 +02:00
2022-02-07 08:05:24 -08:00
2022-02-07 08:05:24 -08:00
2022-09-29 09:25:47 -07:00
2023-02-22 13:13:13 -08:00
2022-06-11 14:25:35 -07:00
2023-02-15 16:29:31 -08:00
2022-10-21 19:23:34 -07:00
2022-08-10 10:12:48 -07:00
2022-05-10 11:20:45 -07:00
2022-08-10 10:12:48 -07:00
2023-03-10 08:14:08 -08:00
2022-01-18 15:45:06 -08:00
2023-03-10 08:14:08 -08:00
2022-09-28 16:30:03 -07:00
2022-09-28 16:30:03 -07:00
2022-09-28 16:30:03 -07:00
2022-01-18 15:45:06 -08:00
2022-09-28 16:30:03 -07:00
2022-08-25 11:35:37 -07:00
2022-02-07 08:05:24 -08:00
2023-03-10 08:14:08 -08:00
2023-04-21 12:16:56 -07:00
2022-01-18 14:27:39 -08:00
2023-01-23 20:53:01 +01:00
2022-12-22 00:56:27 +01:00
2022-06-07 10:20:44 -07:00
2022-06-07 10:20:44 -07:00
2022-06-07 10:20:44 -07:00
2022-06-07 10:20:44 -07:00
2022-05-09 17:15:32 +02:00
2022-07-05 21:15:19 -07:00
2022-12-15 00:05:13 +01:00
2022-12-15 22:50:17 +01:00
2022-12-15 00:05:13 +01:00
2023-02-16 16:56:17 -08:00
2022-11-30 15:33:48 -08:00
2022-01-27 12:03:46 -08:00
2021-11-11 17:41:11 -08:00
2023-03-10 08:14:08 -08:00
2022-01-19 12:51:30 -08:00
2022-08-23 16:08:22 -07:00
2022-01-19 12:51:30 -08:00
2022-09-23 13:59:08 -07:00
2022-08-25 11:35:37 -07:00
2023-03-10 08:14:08 -08:00
2023-04-12 12:57:54 -07:00
2023-04-12 12:57:54 -07:00
2023-04-12 12:57:54 -07:00
2023-03-10 08:14:08 -08:00
2022-10-25 23:19:19 -07:00
2022-10-25 23:19:19 -07:00
2023-03-10 08:14:08 -08:00
2022-10-25 23:19:19 -07:00
2023-03-09 18:59:54 -08:00
2022-09-09 10:40:45 -07:00
2022-02-04 11:29:01 -08:00
2023-03-10 08:14:08 -08:00
2022-07-08 14:27:03 +02:00
2023-03-16 12:28:30 -07:00
2023-03-30 14:12:22 -07:00
2023-03-16 12:28:30 -07:00
2022-12-22 00:56:27 +01:00
2023-01-25 10:25:57 -08:00
2023-01-25 10:25:57 -08:00
2023-03-10 08:14:08 -08:00
2023-03-10 08:14:08 -08:00
2022-11-21 12:47:04 -08:00
2023-03-31 09:40:16 -07:00
2022-05-09 17:15:32 +02:00
2023-03-10 08:14:08 -08:00
2022-02-07 08:05:24 -08:00
2023-02-17 22:12:04 +01:00
2023-03-24 10:10:20 -07:00
2021-11-07 11:54:51 -08:00
2021-11-07 11:54:51 -08:00
2021-11-06 12:54:12 -07:00
2022-04-06 10:32:12 -07:00
2023-03-10 08:14:08 -08:00
2022-01-20 21:19:05 -08:00
2022-06-07 10:41:20 -07:00
2022-12-14 21:30:40 -08:00
2021-12-13 09:25:59 -08:00
2022-09-26 20:30:40 -07:00
2023-02-15 15:40:06 -08:00
2022-08-31 14:10:01 -07:00
2022-03-10 18:57:55 -08:00
2023-03-08 16:19:51 -08:00
2023-03-08 16:19:51 -08:00
2023-03-08 16:19:51 -08:00
2023-03-08 16:19:51 -08:00
2023-04-24 17:46:44 -07:00
2022-12-22 17:19:23 -08:00
2023-03-03 17:42:20 +01:00
2022-08-10 09:22:18 -07:00
2022-09-07 11:05:17 -07:00
2022-01-18 14:27:39 -08:00
2023-02-02 00:25:14 +01:00
2022-05-10 14:42:06 -07:00
2022-10-25 10:14:51 -07:00
2022-01-18 14:27:39 -08:00
2023-03-10 08:14:08 -08:00
2023-03-10 08:14:08 -08:00
2023-04-15 17:36:50 -07:00
2023-04-15 17:36:50 -07:00
2023-04-15 17:36:50 -07:00
2023-03-10 16:38:05 -08:00
2022-06-22 19:14:33 -07:00
2022-07-07 16:35:21 +02:00
2023-03-25 19:52:52 -07:00
2022-01-06 22:25:53 +01:00
2022-05-09 17:15:32 +02:00
2023-03-14 15:28:11 -07:00
2023-03-03 17:42:20 +01:00
2022-07-08 23:01:26 +02:00
2022-11-16 23:00:56 -08:00
2023-03-08 16:19:51 -08:00
2023-04-16 08:51:24 -07:00
2023-04-16 08:51:24 -07:00
2022-03-30 14:17:25 +02:00
2022-05-20 15:36:48 -07:00
2023-01-25 07:57:50 -08:00
2023-03-03 17:42:20 +01:00
2023-01-25 07:57:50 -08:00
2023-03-10 08:14:08 -08:00
2023-03-10 08:14:08 -08:00
2022-04-08 22:38:17 +02:00
2023-03-10 08:14:08 -08:00
2022-05-09 17:15:32 +02:00
2023-03-31 09:40:16 -07:00
2021-11-30 10:56:28 -08:00
2023-03-08 16:19:51 -08:00
2023-03-08 16:19:51 -08:00
2022-04-19 10:18:56 -07:00
2023-03-10 08:14:08 -08:00
2023-02-13 19:40:53 -08:00
2023-03-10 08:14:08 -08:00
2023-04-15 17:36:50 -07:00
2023-04-15 17:36:50 -07:00
2023-04-01 09:07:20 -07:00
2023-03-01 10:24:33 -08:00
2023-03-10 08:14:08 -08:00
2023-03-10 08:14:08 -08:00
2023-03-10 08:14:08 -08:00
2023-04-15 17:36:50 -07:00
2023-04-21 16:31:37 +02:00
2022-02-07 08:05:24 -08:00
2022-01-20 21:19:05 -08:00
2023-03-10 08:14:08 -08:00
2023-01-25 15:10:34 -08:00
2022-04-20 23:48:34 +02:00
2022-01-14 17:26:14 -08:00
2023-03-10 08:14:08 -08:00
2023-04-21 17:10:34 +02:00
2022-03-20 19:16:50 -07:00
2021-12-11 17:40:23 -08:00
2022-04-19 13:48:20 -07:00
2021-11-30 10:56:28 -08:00
2023-03-10 08:14:08 -08:00
2023-03-10 08:14:08 -08:00
2022-08-26 22:07:01 -07:00
2023-03-10 08:14:08 -08:00
2023-04-01 09:07:20 -07:00
2023-04-01 09:07:20 -07:00
2023-04-01 09:07:20 -07:00
2022-10-21 13:58:09 -07:00
2022-10-25 23:11:47 -07:00
2022-10-25 23:11:46 -07:00
2022-06-23 09:49:57 -07:00
2022-06-23 09:49:58 -07:00
2023-03-22 22:53:25 -07:00
2023-03-29 13:10:56 -07:00
2023-04-19 21:29:39 -07:00
2023-03-06 09:38:08 -08:00
2023-03-06 09:38:08 -08:00
2023-03-06 09:38:08 -08:00
2022-08-17 09:42:07 -07:00
2022-08-08 15:42:00 +02:00
2022-09-10 17:27:32 -07:00
2023-03-10 08:14:08 -08:00
2022-01-27 12:03:46 -08:00
2022-06-28 13:13:33 -07:00
2022-01-20 21:19:05 -08:00
2023-03-10 08:14:08 -08:00
2023-02-16 16:56:17 -08:00
2022-07-19 09:33:18 -07:00
2023-03-10 08:14:08 -08:00
2022-06-07 10:20:44 -07:00
2022-05-09 17:15:32 +02:00
2022-07-05 21:15:19 -07:00
2021-10-25 20:39:42 -07:00
2022-05-09 17:15:32 +02:00
2022-07-08 14:27:03 +02:00
2022-03-05 09:38:15 -08:00
2022-01-06 15:20:49 -08:00
2022-01-19 01:27:03 +01:00
2023-03-10 12:54:12 -08:00
2023-03-10 08:14:08 -08:00
2023-03-10 08:14:08 -08:00
2023-02-17 21:20:44 +01:00
2023-02-17 21:20:44 +01:00
2023-02-17 21:20:44 +01:00
2023-02-17 21:20:44 +01:00
2023-02-17 21:20:44 +01:00
2023-02-17 21:20:44 +01:00
2023-02-17 21:20:44 +01:00
2023-02-22 12:34:50 -08:00
2023-02-17 21:20:44 +01:00
2023-02-17 21:20:44 +01:00
2023-02-17 21:20:44 +01:00
2023-02-17 21:20:44 +01:00
2023-02-17 21:20:44 +01:00
2023-02-17 21:20:44 +01:00
2023-02-17 21:20:44 +01:00
2023-02-17 21:21:50 +01:00
2023-03-10 08:14:08 -08:00
2022-08-08 15:42:00 +02:00
2023-03-02 22:38:50 -08:00
2023-03-10 08:14:08 -08:00
2023-03-22 09:31:05 -07:00
2023-03-01 10:05:19 -08:00
2022-04-03 16:42:43 -07:00
2021-11-07 08:34:23 -08:00
2023-03-10 08:14:08 -08:00
2022-10-10 16:49:43 -07:00
2021-12-10 15:29:18 -08:00
2023-04-18 12:45:10 -07:00
2022-09-21 17:33:42 -07:00
2023-03-10 08:14:08 -08:00
2022-05-20 15:07:41 -07:00
2023-03-22 15:11:06 -07:00
2022-11-11 13:18:36 -08:00
2022-10-25 10:14:51 -07:00
2023-03-10 08:14:08 -08:00
2023-03-10 08:14:08 -08:00
2023-03-10 08:14:08 -08:00
2021-10-22 14:26:33 -07:00
2023-03-10 08:14:08 -08:00
2022-07-26 16:29:23 +02:00
2021-11-28 22:24:57 -08:00
2021-11-07 08:34:23 -08:00
2023-03-10 08:14:08 -08:00
2023-03-10 08:14:08 -08:00
2023-03-10 08:14:08 -08:00
2023-03-10 08:14:08 -08:00
2022-03-08 17:39:29 -08:00
2023-01-29 19:16:28 -08:00
2023-03-10 08:14:08 -08:00
2023-03-10 08:14:08 -08:00
2023-03-10 08:14:08 -08:00
2023-04-04 16:57:27 -07:00
2022-01-20 21:19:05 -08:00
2021-11-07 08:34:23 -08:00
2021-11-26 18:01:56 -08:00
2022-10-19 16:40:45 -07:00
2023-03-10 08:14:08 -08:00
2023-03-10 08:14:08 -08:00
2022-01-20 21:33:32 -08:00
2022-11-17 19:22:15 -08:00
2023-03-10 08:14:08 -08:00
2022-05-27 07:57:25 -07:00
2023-03-13 21:51:30 -07:00
2023-02-16 16:56:17 -08:00
2022-03-17 23:12:48 -07:00
2022-03-17 23:12:48 -07:00
2022-03-17 23:12:48 -07:00
2022-04-03 19:55:57 -07:00
2023-03-10 08:14:08 -08:00
2022-01-20 21:19:05 -08:00
2023-03-10 08:14:08 -08:00
2023-01-15 12:56:17 -08:00
2022-01-20 21:19:05 -08:00
2021-11-07 08:34:23 -08:00
2023-03-10 08:14:08 -08:00
2022-08-09 09:47:13 -07:00
2023-03-13 21:51:30 -07:00
2022-05-20 16:12:14 -07:00
2023-04-12 16:40:39 -07:00
2022-05-20 19:54:34 -07:00
2023-02-10 15:21:27 -08:00
2022-04-05 13:16:08 -07:00
2023-03-10 08:14:08 -08:00
2022-04-05 13:16:08 -07:00
2022-09-21 16:25:03 -07:00
2022-11-11 11:44:46 -08:00
2023-03-10 08:14:08 -08:00
2023-03-10 08:14:08 -08:00
2023-03-10 08:14:08 -08:00
2023-01-28 12:30:08 -08:00
2023-01-28 12:30:09 -08:00
2023-03-10 08:14:08 -08:00
2022-01-21 14:14:02 -08:00
2023-03-10 08:14:08 -08:00
2023-03-16 22:20:09 -07:00
2023-03-10 08:14:08 -08:00
2022-01-11 09:44:06 -08:00
2023-03-10 08:14:08 -08:00
2022-01-21 14:14:03 -08:00
2023-03-10 08:14:08 -08:00
2022-02-01 09:51:31 -08:00
2022-02-01 09:51:31 -08:00
2022-02-01 09:51:31 -08:00
2022-02-01 09:51:31 -08:00
2022-02-11 13:13:04 -08:00
2023-03-02 22:41:32 -08:00
2022-03-30 19:31:30 -07:00
2022-02-07 08:05:24 -08:00
2022-02-07 08:05:24 -08:00
2023-04-19 21:29:39 -07:00
2022-04-03 19:55:57 -07:00
2021-11-01 18:05:12 -07:00
2023-03-10 08:14:08 -08:00
2023-03-10 08:14:08 -08:00
2023-02-22 12:34:50 -08:00
2023-02-13 21:42:29 -08:00
2023-03-10 08:14:08 -08:00
2023-03-25 17:02:02 -07:00
2023-04-20 16:49:16 -07:00
2023-03-25 17:02:02 -07:00
2023-04-06 15:26:08 -07:00
2023-03-25 17:02:03 -07:00
2023-04-06 15:26:08 -07:00
2023-04-21 12:17:14 -07:00
2023-04-21 12:17:39 -07:00
2023-04-21 12:17:51 -07:00
2023-03-25 17:02:03 -07:00
2023-03-25 17:02:03 -07:00
2023-03-25 17:02:03 -07:00
2023-03-25 17:02:03 -07:00
2023-03-25 17:02:03 -07:00
2023-03-25 17:02:03 -07:00
2023-04-21 12:18:03 -07:00
2023-04-21 12:18:16 -07:00
2023-04-21 12:18:44 -07:00
2023-03-25 17:02:03 -07:00
2023-03-25 17:02:04 -07:00
2023-03-25 17:02:04 -07:00
2023-03-25 17:02:04 -07:00
2023-03-25 17:02:04 -07:00
2023-03-25 17:02:04 -07:00
2023-03-25 17:02:04 -07:00
2023-03-25 17:02:04 -07:00
2023-04-21 12:18:55 -07:00
2023-03-25 17:02:04 -07:00
2023-03-25 17:02:04 -07:00
2023-04-21 12:19:07 -07:00
2023-04-21 12:19:20 -07:00
2023-04-21 12:20:26 -07:00
2023-04-21 12:20:38 -07:00
2023-03-25 17:02:04 -07:00
2023-03-25 17:02:05 -07:00
2023-03-25 17:02:05 -07:00
2023-03-25 17:02:05 -07:00
2023-04-21 11:34:50 -07:00
2023-04-21 11:34:50 -07:00
2023-04-22 08:26:58 -07:00
2023-03-25 17:02:05 -07:00
2023-03-25 17:02:05 -07:00
2023-04-21 12:23:13 -07:00
2023-04-17 15:50:02 -07:00
2023-04-21 12:23:40 -07:00
2023-03-25 17:02:05 -07:00
2023-04-21 12:24:41 -07:00
2023-04-21 12:25:07 -07:00
2023-04-21 12:25:19 -07:00
2023-03-25 17:02:05 -07:00
2023-04-21 12:25:31 -07:00
2023-03-25 17:02:05 -07:00
2023-04-21 12:25:45 -07:00
2023-03-25 17:02:05 -07:00
2023-04-21 12:26:52 -07:00
2023-04-21 12:26:52 -07:00
2023-03-25 17:02:06 -07:00
2023-04-21 12:27:07 -07:00
2023-03-25 17:02:06 -07:00
2023-04-21 12:27:19 -07:00
2023-03-25 17:02:06 -07:00
2023-03-25 17:02:06 -07:00
2023-03-25 17:02:06 -07:00
2023-03-28 14:48:27 -07:00
2023-03-25 17:02:06 -07:00
2023-03-10 08:14:08 -08:00
2023-04-13 11:15:11 -07:00
2023-04-13 11:15:11 -07:00
2023-04-13 11:15:11 -07:00
2022-02-01 09:51:31 -08:00
2023-01-28 12:45:14 -08:00
2023-03-10 08:14:08 -08:00
2023-03-10 08:14:08 -08:00
2022-12-06 12:42:38 -08:00
2023-03-22 09:14:07 -07:00