Lines Matching refs:descr
61 const char *descr; member
105 .descr = "struct test #1",
157 .descr = "struct test #2",
198 .descr = "struct test #3 Invalid member offset",
234 .descr = "global data test #1",
274 .descr = "global data test #2",
309 .descr = "global data test #3",
331 .descr = "global data test #4, unsupported linkage",
355 .descr = "global data test #5, invalid var type",
377 .descr = "global data test #6, invalid var type (fwd type)",
402 .descr = "global data test #7, invalid var type (fwd type)",
427 .descr = "global data test #8, invalid var size",
464 .descr = "global data test #9, invalid var size",
501 .descr = "global data test #10, invalid var size",
538 .descr = "global data test #11, multiple section members",
576 .descr = "global data test #12, invalid offset",
616 .descr = "global data test #13, invalid offset",
656 .descr = "global data test #14, invalid offset",
696 .descr = "global data test #15, not var kind",
719 .descr = "global data test #16, invalid var referencing sec",
747 .descr = "global data test #17, invalid var referencing var",
771 .descr = "global data test #18, invalid var loop",
794 .descr = "global data test #19, invalid var referencing var",
815 .descr = "global data test #20, invalid ptr referencing var",
837 .descr = "global data test #21, var included in struct",
862 .descr = "global data test #22, array of var",
883 .descr = "var after datasec, ptr followed by modifier",
918 .descr = "size check test #1",
950 .descr = "size check test #2",
984 .descr = "size check test #3",
1023 .descr = "size check test #4",
1065 .descr = "size check test #5",
1100 .descr = "void test #1",
1133 .descr = "void test #2",
1163 .descr = "void test #3",
1190 .descr = "void test #4",
1221 .descr = "loop test #1",
1256 .descr = "loop test #2",
1289 .descr = "loop test #3",
1324 .descr = "loop test #4",
1362 .descr = "loop test #5",
1397 .descr = "loop test #6",
1422 .descr = "loop test #7",
1450 .descr = "loop test #8",
1486 .descr = "string section does not end with null",
1506 .descr = "empty string section",
1526 .descr = "empty type section",
1544 .descr = "btf_header test. Longer hdr_len",
1565 .descr = "btf_header test. Gap between hdr and type",
1586 .descr = "btf_header test. Gap between type and str",
1607 .descr = "btf_header test. Overlap between type and str",
1628 .descr = "btf_header test. Larger BTF size",
1649 .descr = "btf_header test. Smaller BTF size",
1670 .descr = "array test. index_type/elem_type \"int\"",
1690 .descr = "array test. index_type/elem_type \"const int\"",
1712 .descr = "array test. index_type \"const int:31\"",
1738 .descr = "array test. elem_type \"const int:31\"",
1764 .descr = "array test. index_type \"void\"",
1786 .descr = "array test. index_type \"const void\"",
1810 .descr = "array test. elem_type \"const void\"",
1834 .descr = "array test. elem_type \"const void *\"",
1858 .descr = "array test. index_type \"const void *\"",
1884 .descr = "array test. t->size != 0\"",
1907 .descr = "int test. invalid int_data",
1927 .descr = "invalid BTF_INFO",
1948 .descr = "fwd test. t->type != 0\"",
1970 .descr = "typedef (invalid name, name_off = 0)",
1990 .descr = "typedef (invalid name, invalid identifier)",
2010 .descr = "ptr type (invalid name, name_off <> 0)",
2031 .descr = "volatile type (invalid name, name_off <> 0)",
2052 .descr = "const type (invalid name, name_off <> 0)",
2073 .descr = "restrict type (invalid name, name_off <> 0)",
2095 .descr = "fwd type (invalid name, name_off = 0)",
2115 .descr = "fwd type (invalid name, invalid identifier)",
2136 .descr = "array type (invalid name, name_off <> 0)",
2158 .descr = "struct type (name_off = 0)",
2178 .descr = "struct type (invalid name, invalid identifier)",
2200 .descr = "struct member (name_off = 0)",
2220 .descr = "struct member (invalid name, invalid identifier)",
2242 .descr = "enum type (name_off = 0)",
2263 .descr = "enum type (invalid name, invalid identifier)",
2286 .descr = "enum member (invalid name, name_off = 0)",
2309 .descr = "enum member (invalid name, invalid identifier)",
2331 .descr = "arraymap invalid btf key (a bit field)",
2352 .descr = "arraymap invalid btf key (!= 32 bits)",
2373 .descr = "arraymap invalid btf value (too small)",
2393 .descr = "arraymap invalid btf value (too big)",
2413 .descr = "func proto (int (*)(int, unsigned int))",
2435 .descr = "func proto (vararg)",
2458 .descr = "func proto (vararg with name)",
2483 .descr = "func proto (arg after vararg)",
2508 .descr = "func proto (CONST=>TYPEDEF=>PTR=>FUNC_PROTO)",
2534 .descr = "func proto (TYPEDEF=>FUNC_PROTO)",
2556 .descr = "func proto (btf_resolve(arg))",
2578 .descr = "func proto (Not all arg has name)",
2600 .descr = "func proto (Bad arg name_off)",
2624 .descr = "func proto (Bad arg name)",
2648 .descr = "func proto (Invalid return type)",
2672 .descr = "func proto (with func name)",
2696 .descr = "func proto (const void arg)",
2720 .descr = "func (void func(int a, unsigned int b))",
2744 .descr = "func (No func name)",
2770 .descr = "func (Invalid func name)",
2796 .descr = "func (Some arg has no name)",
2822 .descr = "func (Non zero vlen)",
2848 .descr = "func (Not referring to FUNC_PROTO)",
2868 .descr = "invalid int kind_flag",
2888 .descr = "invalid ptr kind_flag",
2907 .descr = "invalid array kind_flag",
2927 .descr = "valid fwd kind_flag",
2945 .descr = "invalid typedef kind_flag",
2965 .descr = "invalid volatile kind_flag",
2984 .descr = "invalid const kind_flag",
3003 .descr = "invalid restrict kind_flag",
3022 .descr = "invalid func kind_flag",
3042 .descr = "invalid func_proto kind_flag",
3061 .descr = "valid struct, kind_flag, bitfield_size = 0",
3080 .descr = "valid struct, kind_flag, int member, bitfield_size != 0",
3099 .descr = "valid union, kind_flag, int member, bitfield_size != 0",
3118 .descr = "valid struct, kind_flag, enum member, bitfield_size != 0",
3139 .descr = "valid union, kind_flag, enum member, bitfield_size != 0",
3160 .descr = "valid struct, kind_flag, typedef member, bitfield_size != 0",
3183 .descr = "valid union, kind_flag, typedef member, bitfield_size != 0",
3206 .descr = "invalid struct, kind_flag, bitfield_size greater than struct size",
3227 .descr = "invalid struct, kind_flag, bitfield base_type int not regular",
3249 .descr = "invalid struct, kind_flag, base_type int not regular",
3271 .descr = "invalid union, kind_flag, bitfield_size greater than struct size",
3292 .descr = "invalid struct, kind_flag, int member, bitfield_size = 0, wrong byte alignment",
3314 .descr = "invalid struct, kind_flag, enum member, bitfield_size = 0, wrong byte alignment",
3338 .descr = "128-bit int",
3355 .descr = "struct, 128-bit int member",
3374 .descr = "struct, 120-bit int member bitfield",
3393 .descr = "struct, kind_flag, 128-bit int member",
3412 .descr = "struct, kind_flag, 120-bit int member bitfield",
3436 .descr = "struct->ptr->typedef->array->int size resolution",
3462 .descr = "struct->ptr->typedef->multi-array->int size resolution",
3493 .descr = "typedef/multi-arr mix size resolution",
3521 .descr = "datasec: vlen == 0",
3540 .descr = "float test #1, well-formed",
3568 .descr = "float test #2, invalid vlen",
3588 .descr = "float test #3, invalid kind_flag",
3608 .descr = "float test #4, member does not fit",
3629 .descr = "float test #5, member is not properly aligned",
3650 .descr = "float test #6, invalid size",
3670 .descr = "decl_tag test #1, struct/member, well-formed",
3691 .descr = "decl_tag test #2, union/member, well-formed",
3712 .descr = "decl_tag test #3, variable, well-formed",
3731 .descr = "decl_tag test #4, func/parameter, well-formed",
3753 .descr = "decl_tag test #5, invalid value",
3772 .descr = "decl_tag test #6, invalid target type",
3790 .descr = "decl_tag test #7, invalid vlen",
3809 .descr = "decl_tag test #8, invalid kflag",
3828 .descr = "decl_tag test #9, var, invalid component_idx",
3847 .descr = "decl_tag test #10, struct member, invalid component_idx",
3868 .descr = "decl_tag test #11, func parameter, invalid component_idx",
3890 .descr = "decl_tag test #12, < -1 component_idx",
3912 .descr = "decl_tag test #13, typedef, well-formed",
3929 .descr = "decl_tag test #14, typedef, invalid component_idx",
3948 .descr = "decl_tag test #15, func, invalid func proto",
3967 .descr = "decl_tag test #16, func proto, return type",
3980 .descr = "decl_tag test #17, func proto, argument",
3994 .descr = "decl_tag test #18, decl_tag as the map key type",
4014 .descr = "decl_tag test #19, decl_tag as the map value type",
4034 .descr = "type_tag test #1",
4051 .descr = "type_tag test #2, type tag order",
4070 .descr = "type_tag test #3, type tag order",
4090 .descr = "type_tag test #4, type tag order",
4110 .descr = "type_tag test #5, type tag order",
4128 .descr = "type_tag test #6, type tag order",
4150 .descr = "enum64 test #1, unsigned, size 8",
4168 .descr = "enum64 test #2, signed, size 4",
4332 if (!test__start_subtest(test->descr)) in do_test_raw()
4386 const char *descr; member
4399 .descr = "== raw_btf_size+1",
4410 .descr = "== raw_btf_size-3",
4421 .descr = "Large bpf_btf_info",
4432 .descr = "BTF ID",
4661 if (!test__start_subtest(test->descr)) in do_test_get_info()
5189 const char *descr; member
5197 .descr = "BTF pretty print array",
5206 .descr = "BTF pretty print hash",
5215 .descr = "BTF pretty print lru hash",
5224 .descr = "BTF pretty print percpu array",
5233 .descr = "BTF pretty print percpu hash",
5242 .descr = "BTF pretty print lru percpu hash",
5400 if (!test__start_subtest(test->descr)) in do_test_pprint()
5575 pprint_test_template[0].descr = pprint_tests_meta[i].descr; in test_pprint()
5587 pprint_test_template[i].descr = pprint_tests_meta[0].descr; in test_pprint()
5601 const char *descr; member
5621 .descr = "func_type (main func + one sub)",
5652 .descr = "func_type (Incorrect func_info_rec_size)",
5684 .descr = "func_type (Incorrect func_info_cnt)",
5716 .descr = "func_type (Incorrect bpf_func_info.insn_off)",
5748 .descr = "line_info (No subprog)",
5774 .descr = "line_info (No subprog. insn_off >= prog->len)",
5803 .descr = "line_info (Zero bpf insn code)",
5830 .descr = "line_info (No subprog. zero tailing line_info",
5856 .descr = "line_info (No subprog. nonzero tailing line_info)",
5884 .descr = "line_info (subprog)",
5914 .descr = "line_info (subprog + func_info)",
5950 .descr = "line_info (subprog. missing 1st func line info)",
5982 .descr = "line_info (subprog. missing 2nd func line info)",
6014 .descr = "line_info (subprog. unordered insn offset)",
6046 .descr = "line_info (dead start)",
6076 .descr = "line_info (dead end)",
6108 .descr = "line_info (dead code + subprog + func_info)",
6167 .descr = "line_info (dead subprog)",
6221 .descr = "line_info (dead last subprog)",
6262 .descr = "line_info (dead subprog + dead start)",
6320 .descr = "line_info (dead subprog + dead start w/ move)",
6375 .descr = "line_info (dead end + subprog start w/ no linfo)",
6768 if (!test__start_subtest(test->descr)) in do_test_info_raw()
6861 const char *descr; member
6870 .descr = "dedup: unused strings filtering",
6889 .descr = "dedup: strings deduplication",
6911 .descr = "dedup: struct example #1",
6991 .descr = "dedup: struct <-> fwd resolution w/ hash collision",
7035 .descr = "dedup: void equiv check",
7081 .descr = "dedup: all possible kinds (no duplicates)",
7150 .descr = "dedup: no int/float duplicates",
7201 .descr = "dedup: enum fwd resolution",
7240 .descr = "dedup: datasec and vars pass-through",
7284 .descr = "dedup: func/func_arg/var tags",
7326 .descr = "dedup: func/func_param tags",
7376 .descr = "dedup: struct/struct_member tags",
7421 .descr = "dedup: typedef tags",
7451 .descr = "dedup: btf_type_tag #1",
7485 .descr = "dedup: btf_type_tag #2",
7516 .descr = "dedup: btf_type_tag #3",
7549 .descr = "dedup: btf_type_tag #4",
7580 .descr = "dedup: btf_type_tag #5, struct",
7606 .descr = "dedup: enum64, standalone",
7627 .descr = "dedup: enum64, fwd resolution",
7664 .descr = "dedup: enum and enum64, no dedup",
7691 .descr = "dedup: enum of different size: no dedup",
7718 .descr = "dedup: enum fwd to enum64",
7745 .descr = "dedup: enum64 fwd to enum",
7772 .descr = "dedup: standalone fwd declaration struct",
7811 .descr = "dedup: standalone fwd declaration union",
7851 .descr = "dedup: standalone fwd declaration wrong kind",
7894 .descr = "dedup: standalone fwd declaration name conflict",
8018 if (!test__start_subtest(test->descr)) in do_test_dedup()