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",
3539 .descr = "datasec: name '?.foo bar:buz' is ok",
3554 .descr = "datasec: name with non-printable first char not is ok",
3571 .descr = "datasec: name '\\0' is not ok",
3588 .descr = "type name '?foo' is not ok",
3600 .descr = "float test #1, well-formed",
3628 .descr = "float test #2, invalid vlen",
3648 .descr = "float test #3, invalid kind_flag",
3668 .descr = "float test #4, member does not fit",
3689 .descr = "float test #5, member is not properly aligned",
3710 .descr = "float test #6, invalid size",
3730 .descr = "decl_tag test #1, struct/member, well-formed",
3751 .descr = "decl_tag test #2, union/member, well-formed",
3772 .descr = "decl_tag test #3, variable, well-formed",
3791 .descr = "decl_tag test #4, func/parameter, well-formed",
3813 .descr = "decl_tag test #5, invalid value",
3832 .descr = "decl_tag test #6, invalid target type",
3850 .descr = "decl_tag test #7, invalid vlen",
3869 .descr = "decl_tag test #8, invalid kflag",
3888 .descr = "decl_tag test #9, var, invalid component_idx",
3907 .descr = "decl_tag test #10, struct member, invalid component_idx",
3928 .descr = "decl_tag test #11, func parameter, invalid component_idx",
3950 .descr = "decl_tag test #12, < -1 component_idx",
3972 .descr = "decl_tag test #13, typedef, well-formed",
3989 .descr = "decl_tag test #14, typedef, invalid component_idx",
4008 .descr = "decl_tag test #15, func, invalid func proto",
4027 .descr = "decl_tag test #16, func proto, return type",
4040 .descr = "decl_tag test #17, func proto, argument",
4054 .descr = "decl_tag test #18, decl_tag as the map key type",
4074 .descr = "decl_tag test #19, decl_tag as the map value type",
4094 .descr = "type_tag test #1",
4111 .descr = "type_tag test #2, type tag order",
4130 .descr = "type_tag test #3, type tag order",
4150 .descr = "type_tag test #4, type tag order",
4170 .descr = "type_tag test #5, type tag order",
4188 .descr = "type_tag test #6, type tag order",
4210 .descr = "enum64 test #1, unsigned, size 8",
4228 .descr = "enum64 test #2, signed, size 4",
4392 if (!test__start_subtest(test->descr)) in do_test_raw()
4449 const char *descr; member
4462 .descr = "== raw_btf_size+1",
4473 .descr = "== raw_btf_size-3",
4484 .descr = "Large bpf_btf_info",
4495 .descr = "BTF ID",
4724 if (!test__start_subtest(test->descr)) in do_test_get_info()
5252 const char *descr; member
5260 .descr = "BTF pretty print array",
5269 .descr = "BTF pretty print hash",
5278 .descr = "BTF pretty print lru hash",
5287 .descr = "BTF pretty print percpu array",
5296 .descr = "BTF pretty print percpu hash",
5305 .descr = "BTF pretty print lru percpu hash",
5463 if (!test__start_subtest(test->descr)) in do_test_pprint()
5638 pprint_test_template[0].descr = pprint_tests_meta[i].descr; in test_pprint()
5650 pprint_test_template[i].descr = pprint_tests_meta[0].descr; in test_pprint()
5664 const char *descr; member
5684 .descr = "func_type (main func + one sub)",
5715 .descr = "func_type (Incorrect func_info_rec_size)",
5747 .descr = "func_type (Incorrect func_info_cnt)",
5779 .descr = "func_type (Incorrect bpf_func_info.insn_off)",
5811 .descr = "line_info (No subprog)",
5837 .descr = "line_info (No subprog. insn_off >= prog->len)",
5866 .descr = "line_info (Zero bpf insn code)",
5893 .descr = "line_info (No subprog. zero tailing line_info",
5919 .descr = "line_info (No subprog. nonzero tailing line_info)",
5947 .descr = "line_info (subprog)",
5977 .descr = "line_info (subprog + func_info)",
6013 .descr = "line_info (subprog. missing 1st func line info)",
6045 .descr = "line_info (subprog. missing 2nd func line info)",
6077 .descr = "line_info (subprog. unordered insn offset)",
6109 .descr = "line_info (dead start)",
6139 .descr = "line_info (dead end)",
6171 .descr = "line_info (dead code + subprog + func_info)",
6230 .descr = "line_info (dead subprog)",
6284 .descr = "line_info (dead last subprog)",
6325 .descr = "line_info (dead subprog + dead start)",
6383 .descr = "line_info (dead subprog + dead start w/ move)",
6438 .descr = "line_info (dead end + subprog start w/ no linfo)",
6831 if (!test__start_subtest(test->descr)) in do_test_info_raw()
6924 const char *descr; member
6933 .descr = "dedup: unused strings filtering",
6952 .descr = "dedup: strings deduplication",
6974 .descr = "dedup: struct example #1",
7054 .descr = "dedup: struct <-> fwd resolution w/ hash collision",
7098 .descr = "dedup: void equiv check",
7144 .descr = "dedup: all possible kinds (no duplicates)",
7213 .descr = "dedup: no int/float duplicates",
7264 .descr = "dedup: enum fwd resolution",
7303 .descr = "dedup: datasec and vars pass-through",
7347 .descr = "dedup: func/func_arg/var tags",
7389 .descr = "dedup: func/func_param tags",
7439 .descr = "dedup: struct/struct_member tags",
7484 .descr = "dedup: typedef tags",
7514 .descr = "dedup: btf_type_tag #1",
7548 .descr = "dedup: btf_type_tag #2",
7579 .descr = "dedup: btf_type_tag #3",
7612 .descr = "dedup: btf_type_tag #4",
7643 .descr = "dedup: btf_type_tag #5, struct",
7669 .descr = "dedup: enum64, standalone",
7690 .descr = "dedup: enum64, fwd resolution",
7727 .descr = "dedup: enum and enum64, no dedup",
7754 .descr = "dedup: enum of different size: no dedup",
7781 .descr = "dedup: enum fwd to enum64",
7808 .descr = "dedup: enum64 fwd to enum",
7835 .descr = "dedup: standalone fwd declaration struct",
7874 .descr = "dedup: standalone fwd declaration union",
7914 .descr = "dedup: standalone fwd declaration wrong kind",
7957 .descr = "dedup: standalone fwd declaration name conflict",
8081 if (!test__start_subtest(test->descr)) in do_test_dedup()