Martin KaFai Lau
9186c74235
bpf: btf: Ensure the member->offset is in the right order
...
This patch ensures the member->offset of a struct
is in the correct order (i.e the later member's offset cannot
go backward).
The current "pahole -J" BTF encoder does not generate something
like this. However, checking this can ensure future encoder
will not violate this.
Fixes: 69b693f0aefa ("bpf: btf: Introduce BPF Type Format (BTF)")
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-01-13 14:37:39 -03:00
..
2025-01-13 14:37:39 -03:00
2024-12-23 00:59:42 -03:00
2019-04-03 06:59:52 -07:00
2024-10-11 00:50:20 -03:00
2024-10-31 20:49:41 -03:00
2024-08-16 22:07:21 -03:00
2024-12-24 00:01:56 -03:00
2023-12-07 20:15:44 -03:00
2024-10-31 20:49:41 -03:00
2024-11-20 02:27:51 -03:00
2024-10-29 20:17:04 -03:00
2024-12-23 00:53:44 -03:00
2024-12-23 00:58:50 -03:00
2024-12-13 00:13:33 -03:00
2024-10-31 20:49:41 -03:00
2019-06-12 12:34:50 +00:00
2023-01-18 09:26:30 +01:00
2023-08-11 11:33:32 +02:00
2022-09-05 10:25:02 +02:00
2023-11-28 16:45:44 +00:00
2024-03-08 08:21:30 +00:00
2020-06-20 10:25:10 +02:00
2020-06-20 10:25:10 +02:00
2023-09-23 10:46:56 +02:00
2022-07-01 09:16:44 +00:00
2020-04-30 10:08:09 -07:00
2023-04-05 11:14:19 +02:00
2020-09-06 01:12:33 +05:30
2024-12-23 00:53:44 -03:00
2023-12-20 15:32:35 +01:00
2019-03-21 16:19:55 -07:00
2024-11-19 23:55:52 -03:00
2023-12-07 20:15:44 -03:00
2024-12-23 00:59:46 -03:00
2023-12-07 20:15:44 -03:00
2020-07-12 21:32:07 -07:00
2019-06-25 03:05:18 -07:00
2022-06-10 15:41:47 +07:00
2020-01-29 17:06:43 -08:00
2019-01-02 17:05:33 +08:00
2020-01-13 19:40:11 +00:00
2023-08-11 11:33:34 +02:00
2022-07-02 16:18:11 +02:00
2019-06-12 12:35:03 +00:00
2020-04-24 08:00:44 +02:00
2024-06-04 16:33:29 -03:00
2024-11-02 20:11:24 -03:00
2024-03-27 17:56:46 -03:00
2024-09-29 17:32:34 -03:00
2022-07-01 09:14:41 +00:00
2023-12-07 20:15:44 -03:00
2020-04-02 16:34:20 +02:00
2023-11-28 16:45:43 +00:00
2024-03-25 23:54:05 -03:00
2024-07-15 17:44:31 +00:00
2021-09-22 11:45:32 +02:00
2022-07-31 09:36:45 +00:00
2022-08-25 11:11:24 +02:00
2022-06-14 16:53:43 +02:00
2024-11-01 22:39:10 -03:00
2020-08-26 10:29:54 +02:00
2020-06-02 16:13:43 +00:00
2022-02-16 12:44:52 +01:00
2022-07-31 09:36:45 +00:00
2024-10-31 20:49:41 -03:00
2021-02-07 14:47:41 +01:00
2024-05-10 15:48:33 -03:00
2022-07-31 09:36:45 +00:00
2024-04-18 09:46:38 -03:00
2019-02-05 17:36:19 -07:00
2024-12-16 13:44:56 -03:00
2020-06-17 12:53:11 +05:30
2022-04-06 13:18:17 +07:00
2022-04-06 13:18:17 +07:00
2022-02-23 11:57:34 +01:00
2020-10-14 09:51:10 +02:00
2021-05-22 10:57:35 +02:00
2022-04-06 13:18:49 +07:00
2024-10-10 10:27:24 +00:00
2020-08-05 11:41:56 +05:30
2019-03-21 16:19:56 -07:00
2024-12-23 00:53:44 -03:00