Lines Matching full:r0
50 r0 = *(u32*)(r1 + %[__sk_buff_len]); \ in value_ptr_unknown_vs_const()
55 if r0 == 1 goto l0_%=; \ in value_ptr_unknown_vs_const()
57 if r0 != 1 goto l1_%=; \ in value_ptr_unknown_vs_const()
60 if r0 == 0 goto l2_%=; \ in value_ptr_unknown_vs_const()
61 r4 = *(u8*)(r0 + 0); \ in value_ptr_unknown_vs_const()
68 l4_%=: r1 += r0; \ in value_ptr_unknown_vs_const()
69 r0 = *(u8*)(r1 + 0); \ in value_ptr_unknown_vs_const()
70 l2_%=: r0 = 1; \ in value_ptr_unknown_vs_const()
88 r0 = *(u32*)(r1 + %[__sk_buff_len]); \ in value_ptr_const_vs_unknown()
93 if r0 == 1 goto l0_%=; \ in value_ptr_const_vs_unknown()
95 if r0 != 1 goto l1_%=; \ in value_ptr_const_vs_unknown()
98 if r0 == 0 goto l2_%=; \ in value_ptr_const_vs_unknown()
99 r4 = *(u8*)(r0 + 0); \ in value_ptr_const_vs_unknown()
106 l4_%=: r1 += r0; \ in value_ptr_const_vs_unknown()
107 r0 = *(u8*)(r1 + 0); \ in value_ptr_const_vs_unknown()
108 l2_%=: r0 = 1; \ in value_ptr_const_vs_unknown()
126 r0 = *(u32*)(r1 + %[__sk_buff_len]); \ in ptr_const_vs_const_ne()
131 if r0 == 1 goto l0_%=; \ in ptr_const_vs_const_ne()
133 if r0 != 1 goto l1_%=; \ in ptr_const_vs_const_ne()
136 if r0 == 0 goto l2_%=; \ in ptr_const_vs_const_ne()
137 r4 = *(u8*)(r0 + 0); \ in ptr_const_vs_const_ne()
142 l4_%=: r1 += r0; \ in ptr_const_vs_const_ne()
143 r0 = *(u8*)(r1 + 0); \ in ptr_const_vs_const_ne()
144 l2_%=: r0 = 1; \ in ptr_const_vs_const_ne()
160 r0 = *(u32*)(r1 + %[__sk_buff_len]); \ in ptr_const_vs_const_eq()
165 if r0 == 1 goto l0_%=; \ in ptr_const_vs_const_eq()
167 if r0 != 1 goto l1_%=; \ in ptr_const_vs_const_eq()
170 if r0 == 0 goto l2_%=; \ in ptr_const_vs_const_eq()
171 r4 = *(u8*)(r0 + 0); \ in ptr_const_vs_const_eq()
176 l4_%=: r1 += r0; \ in ptr_const_vs_const_eq()
177 r0 = *(u8*)(r1 + 0); \ in ptr_const_vs_const_eq()
178 l2_%=: r0 = 1; \ in ptr_const_vs_const_eq()
194 r0 = *(u32*)(r1 + %[__sk_buff_len]); \ in ptr_unknown_vs_unknown_eq()
199 if r0 == 1 goto l0_%=; \ in ptr_unknown_vs_unknown_eq()
201 if r0 != 1 goto l1_%=; \ in ptr_unknown_vs_unknown_eq()
204 if r0 == 0 goto l2_%=; \ in ptr_unknown_vs_unknown_eq()
205 r4 = *(u8*)(r0 + 0); \ in ptr_unknown_vs_unknown_eq()
214 l4_%=: r1 += r0; \ in ptr_unknown_vs_unknown_eq()
215 r0 = *(u8*)(r1 + 0); \ in ptr_unknown_vs_unknown_eq()
216 l2_%=: r0 = 1; \ in ptr_unknown_vs_unknown_eq()
234 r0 = *(u32*)(r1 + %[__sk_buff_len]); \ in ptr_unknown_vs_unknown_lt()
239 if r0 == 1 goto l0_%=; \ in ptr_unknown_vs_unknown_lt()
241 if r0 != 1 goto l1_%=; \ in ptr_unknown_vs_unknown_lt()
244 if r0 == 0 goto l2_%=; \ in ptr_unknown_vs_unknown_lt()
245 r4 = *(u8*)(r0 + 0); \ in ptr_unknown_vs_unknown_lt()
254 l4_%=: r1 += r0; \ in ptr_unknown_vs_unknown_lt()
255 r0 = *(u8*)(r1 + 0); \ in ptr_unknown_vs_unknown_lt()
256 l2_%=: r0 = 1; \ in ptr_unknown_vs_unknown_lt()
274 r0 = *(u32*)(r1 + %[__sk_buff_len]); \ in ptr_unknown_vs_unknown_gt()
279 if r0 == 1 goto l0_%=; \ in ptr_unknown_vs_unknown_gt()
281 if r0 != 1 goto l1_%=; \ in ptr_unknown_vs_unknown_gt()
284 if r0 == 0 goto l2_%=; \ in ptr_unknown_vs_unknown_gt()
285 r4 = *(u8*)(r0 + 0); \ in ptr_unknown_vs_unknown_gt()
294 l4_%=: r1 += r0; \ in ptr_unknown_vs_unknown_gt()
295 r0 = *(u8*)(r1 + 0); \ in ptr_unknown_vs_unknown_gt()
296 l2_%=: r0 = 1; \ in ptr_unknown_vs_unknown_gt()
312 r0 = *(u32*)(r1 + %[__sk_buff_len]); \ in value_ptr_from_different_maps()
317 if r0 == 1 goto l0_%=; \ in value_ptr_from_different_maps()
319 if r0 != 1 goto l1_%=; \ in value_ptr_from_different_maps()
322 if r0 == 0 goto l2_%=; \ in value_ptr_from_different_maps()
324 r1 += r0; \ in value_ptr_from_different_maps()
325 r0 = *(u8*)(r1 + 0); \ in value_ptr_from_different_maps()
326 l2_%=: r0 = 1; \ in value_ptr_from_different_maps()
339 __msg_unpriv("R0 min value is outside of the allowed memory range")
344 r0 = *(u32*)(r1 + %[__sk_buff_len]); \ in known_scalar_from_different_maps()
349 if r0 == 1 goto l0_%=; \ in known_scalar_from_different_maps()
351 if r0 != 1 goto l1_%=; \ in known_scalar_from_different_maps()
354 if r0 == 0 goto l2_%=; \ in known_scalar_from_different_maps()
356 r0 -= r1; \ in known_scalar_from_different_maps()
357 r0 += r1; \ in known_scalar_from_different_maps()
358 r0 = *(u8*)(r0 + 0); \ in known_scalar_from_different_maps()
359 l2_%=: r0 = 1; \ in known_scalar_from_different_maps()
375 r0 = *(u32*)(r1 + %[__sk_buff_len]); \ in maps_but_same_value_properties()
380 if r0 == 1 goto l0_%=; \ in maps_but_same_value_properties()
382 if r0 != 1 goto l1_%=; \ in maps_but_same_value_properties()
385 if r0 == 0 goto l2_%=; \ in maps_but_same_value_properties()
387 r1 += r0; \ in maps_but_same_value_properties()
388 r0 = *(u8*)(r1 + 0); \ in maps_but_same_value_properties()
389 l2_%=: r0 = 1; \ in maps_but_same_value_properties()
406 /* load map value pointer into r0 and r2 */ \ in value_pointer_and_scalar_1()
407 r0 = 1; \ in value_pointer_and_scalar_1()
414 if r0 != 0 goto l0_%=; \ in value_pointer_and_scalar_1()
417 r1 = *(u8*)(r0 + 0); \ in value_pointer_and_scalar_1()
421 r2 = r0; \ in value_pointer_and_scalar_1()
434 r0 = 0x13371337; \ in value_pointer_and_scalar_1()
437 r0 = 0; \ in value_pointer_and_scalar_1()
442 r0 = *(u8*)(r0 + 0); \ in value_pointer_and_scalar_1()
443 r0 = 0; \ in value_pointer_and_scalar_1()
453 __success __failure_unpriv __msg_unpriv("R0 invalid mem access 'scalar'")
458 /* load map value pointer into r0 and r2 */ \ in value_pointer_and_scalar_2()
459 r0 = 1; \ in value_pointer_and_scalar_2()
466 if r0 != 0 goto l0_%=; \ in value_pointer_and_scalar_2()
469 r1 = *(u8*)(r0 + 0); \ in value_pointer_and_scalar_2()
477 r2 = r0; \ in value_pointer_and_scalar_2()
486 r0 = 0x13371337; \ in value_pointer_and_scalar_2()
489 r0 = 0; \ in value_pointer_and_scalar_2()
495 r0 = *(u8*)(r0 + 0); \ in value_pointer_and_scalar_2()
496 r0 = 0; \ in value_pointer_and_scalar_2()
510 r0 = 1; \ in alu_with_different_scalars_1()
517 if r0 != 0 goto l0_%=; \ in alu_with_different_scalars_1()
519 l0_%=: r1 = *(u32*)(r0 + 0); \ in alu_with_different_scalars_1()
527 r0 = r2; \ in alu_with_different_scalars_1()
541 r0 = 1; \ in alu_with_different_scalars_2()
549 r7 = r0; \ in alu_with_different_scalars_2()
554 r6 = r0; \ in alu_with_different_scalars_2()
557 r0 = r8; \ in alu_with_different_scalars_2()
558 r0 += %[einval]; \ in alu_with_different_scalars_2()
559 r0 += %[einval]; \ in alu_with_different_scalars_2()
574 r0 = %[einval]; \ in alu_with_different_scalars_3()
575 r0 *= -1; \ in alu_with_different_scalars_3()
576 r7 = r0; \ in alu_with_different_scalars_3()
577 r0 = %[einval]; \ in alu_with_different_scalars_3()
578 r0 *= -1; \ in alu_with_different_scalars_3()
579 r6 = r0; \ in alu_with_different_scalars_3()
582 r0 = r8; \ in alu_with_different_scalars_3()
583 r0 += %[einval]; \ in alu_with_different_scalars_3()
584 r0 += %[einval]; \ in alu_with_different_scalars_3()
594 __msg_unpriv("R0 pointer arithmetic of map value goes out of range")
605 if r0 == 0 goto l0_%=; \ in upper_oob_arith_test_1()
607 r0 += r1; \ in upper_oob_arith_test_1()
608 r0 -= r1; \ in upper_oob_arith_test_1()
609 r0 = *(u8*)(r0 + 0); \ in upper_oob_arith_test_1()
610 l0_%=: r0 = 1; \ in upper_oob_arith_test_1()
621 __msg_unpriv("R0 pointer arithmetic of map value goes out of range")
632 if r0 == 0 goto l0_%=; \ in upper_oob_arith_test_2()
634 r0 += r1; \ in upper_oob_arith_test_2()
635 r0 -= r1; \ in upper_oob_arith_test_2()
636 r0 = *(u8*)(r0 + 0); \ in upper_oob_arith_test_2()
637 l0_%=: r0 = 1; \ in upper_oob_arith_test_2()
657 if r0 == 0 goto l0_%=; \ in upper_oob_arith_test_3()
659 r0 += r1; \ in upper_oob_arith_test_3()
660 r0 -= r1; \ in upper_oob_arith_test_3()
661 r0 = *(u8*)(r0 + 0); \ in upper_oob_arith_test_3()
662 l0_%=: r0 = 1; \ in upper_oob_arith_test_3()
672 __failure __msg("R0 min value is outside of the allowed memory range")
674 __msg_unpriv("R0 pointer arithmetic of map value goes out of range")
684 if r0 == 0 goto l0_%=; \ in lower_oob_arith_test_1()
686 r0 += r1; \ in lower_oob_arith_test_1()
688 r0 -= r1; \ in lower_oob_arith_test_1()
689 r0 = *(u8*)(r0 + 0); \ in lower_oob_arith_test_1()
690 l0_%=: r0 = 1; \ in lower_oob_arith_test_1()
701 __msg_unpriv("R0 pointer arithmetic of map value goes out of range")
712 if r0 == 0 goto l0_%=; \ in lower_oob_arith_test_2()
714 r0 += r1; \ in lower_oob_arith_test_2()
716 r0 -= r1; \ in lower_oob_arith_test_2()
718 r0 += r1; \ in lower_oob_arith_test_2()
719 r0 = *(u8*)(r0 + 0); \ in lower_oob_arith_test_2()
720 l0_%=: r0 = 1; \ in lower_oob_arith_test_2()
740 if r0 == 0 goto l0_%=; \ in lower_oob_arith_test_3()
742 r0 += r1; \ in lower_oob_arith_test_3()
744 r0 -= r1; \ in lower_oob_arith_test_3()
745 r0 = *(u8*)(r0 + 0); \ in lower_oob_arith_test_3()
746 l0_%=: r0 = 1; \ in lower_oob_arith_test_3()
766 if r0 == 0 goto l0_%=; \ in access_known_scalar_value_ptr_1()
768 r1 += r0; \ in access_known_scalar_value_ptr_1()
769 r0 = *(u8*)(r1 + 0); \ in access_known_scalar_value_ptr_1()
770 l0_%=: r0 = 1; \ in access_known_scalar_value_ptr_1()
790 if r0 == 0 goto l0_%=; \ in value_ptr_known_scalar_1()
792 r0 += r1; \ in value_ptr_known_scalar_1()
793 r1 = *(u8*)(r0 + 0); \ in value_ptr_known_scalar_1()
794 l0_%=: r0 = 1; \ in value_ptr_known_scalar_1()
815 if r0 == 0 goto l0_%=; \ in value_ptr_known_scalar_2_1()
817 r0 += r1; \ in value_ptr_known_scalar_2_1()
818 r1 = *(u8*)(r0 + 0); \ in value_ptr_known_scalar_2_1()
819 l0_%=: r0 = 1; \ in value_ptr_known_scalar_2_1()
840 if r0 == 0 goto l0_%=; \ in value_ptr_known_scalar_3()
842 r0 += r1; \ in value_ptr_known_scalar_3()
843 r1 = *(u8*)(r0 + 0); \ in value_ptr_known_scalar_3()
844 l0_%=: r0 = 1; \ in value_ptr_known_scalar_3()
864 if r0 == 0 goto l0_%=; \ in value_ptr_known_scalar_4()
866 r0 += r1; \ in value_ptr_known_scalar_4()
868 r0 += r1; \ in value_ptr_known_scalar_4()
870 r0 += r1; \ in value_ptr_known_scalar_4()
871 r1 = *(u8*)(r0 + 0); \ in value_ptr_known_scalar_4()
872 l0_%=: r0 = 1; \ in value_ptr_known_scalar_4()
892 if r0 == 0 goto l0_%=; \ in value_ptr_known_scalar_5()
894 r1 += r0; \ in value_ptr_known_scalar_5()
895 r0 = *(u32*)(r1 + 0); \ in value_ptr_known_scalar_5()
916 if r0 == 0 goto l0_%=; \ in value_ptr_known_scalar_6()
918 r0 += r1; \ in value_ptr_known_scalar_6()
920 r0 += r1; \ in value_ptr_known_scalar_6()
921 r0 = *(u32*)(r0 + 0); \ in value_ptr_known_scalar_6()
943 if r0 == 0 goto l0_%=; \ in value_ptr_n_known_scalar()
945 *(u32*)(r0 + 0) = r1; \ in value_ptr_n_known_scalar()
946 r0 += 2; \ in value_ptr_n_known_scalar()
948 r0 -= r1; \ in value_ptr_n_known_scalar()
949 r0 = *(u32*)(r0 + 0); \ in value_ptr_n_known_scalar()
969 if r0 == 0 goto l0_%=; \ in unknown_scalar_value_ptr_1()
970 r1 = *(u8*)(r0 + 0); \ in unknown_scalar_value_ptr_1()
972 r1 += r0; \ in unknown_scalar_value_ptr_1()
973 r0 = *(u8*)(r1 + 0); \ in unknown_scalar_value_ptr_1()
974 l0_%=: r0 = 1; \ in unknown_scalar_value_ptr_1()
994 if r0 == 0 goto l0_%=; \ in __flag()
995 r1 = *(u32*)(r0 + 0); \ in __flag()
997 r1 += r0; \ in __flag()
998 r0 = *(u32*)(r1 + 0); \ in __flag()
1009 __msg_unpriv("R0 pointer arithmetic of map value goes out of range")
1020 if r0 == 0 goto l0_%=; \ in __flag()
1022 r0 += r1; \ in __flag()
1024 r0 += r1; \ in __flag()
1025 r1 = *(u32*)(r0 + 0); \ in __flag()
1027 r1 += r0; \ in __flag()
1028 r0 = *(u32*)(r1 + 0); \ in __flag()
1050 if r0 == 0 goto l0_%=; \ in __flag()
1052 r0 += r1; \ in __flag()
1053 r1 = *(u32*)(r0 + 0); \ in __flag()
1055 r1 += r0; \ in __flag()
1056 r0 = *(u32*)(r1 + 0); \ in __flag()
1076 if r0 == 0 goto l0_%=; \ in value_ptr_unknown_scalar_1()
1077 r1 = *(u8*)(r0 + 0); \ in value_ptr_unknown_scalar_1()
1079 r0 += r1; \ in value_ptr_unknown_scalar_1()
1080 r1 = *(u8*)(r0 + 0); \ in value_ptr_unknown_scalar_1()
1081 l0_%=: r0 = 1; \ in value_ptr_unknown_scalar_1()
1101 if r0 == 0 goto l0_%=; \ in __flag()
1102 r1 = *(u32*)(r0 + 0); \ in __flag()
1104 r0 += r1; \ in __flag()
1105 r0 = *(u32*)(r0 + 0); \ in __flag()
1125 if r0 == 0 goto l0_%=; \ in value_ptr_unknown_scalar_3()
1126 r1 = *(u64*)(r0 + 0); \ in value_ptr_unknown_scalar_3()
1127 r2 = *(u64*)(r0 + 8); \ in value_ptr_unknown_scalar_3()
1128 r3 = *(u64*)(r0 + 16); \ in value_ptr_unknown_scalar_3()
1133 r0 += r3; \ in value_ptr_unknown_scalar_3()
1134 r0 = *(u8*)(r0 + 0); \ in value_ptr_unknown_scalar_3()
1135 r0 = 1; \ in value_ptr_unknown_scalar_3()
1137 l0_%=: r0 = 2; \ in value_ptr_unknown_scalar_3()
1147 __failure __msg("R0 pointer += pointer prohibited")
1158 if r0 == 0 goto l0_%=; \ in access_value_ptr_value_ptr_1()
1159 r0 += r0; \ in access_value_ptr_value_ptr_1()
1160 r1 = *(u8*)(r0 + 0); \ in access_value_ptr_value_ptr_1()
1161 l0_%=: r0 = 1; \ in access_value_ptr_value_ptr_1()
1182 if r0 == 0 goto l0_%=; \ in access_known_scalar_value_ptr_2()
1184 r1 -= r0; \ in access_known_scalar_value_ptr_2()
1185 r0 = *(u8*)(r1 + 0); \ in access_known_scalar_value_ptr_2()
1186 l0_%=: r0 = 1; \ in access_known_scalar_value_ptr_2()
1196 __failure __msg("R0 min value is outside of the allowed memory range")
1207 if r0 == 0 goto l0_%=; \ in access_value_ptr_known_scalar()
1209 r0 -= r1; \ in access_value_ptr_known_scalar()
1210 r1 = *(u8*)(r0 + 0); \ in access_value_ptr_known_scalar()
1211 l0_%=: r0 = 1; \ in access_value_ptr_known_scalar()
1231 if r0 == 0 goto l0_%=; \ in value_ptr_known_scalar_2_2()
1234 r0 += r1; \ in value_ptr_known_scalar_2_2()
1235 r0 -= r2; \ in value_ptr_known_scalar_2_2()
1236 r1 = *(u8*)(r0 + 0); \ in value_ptr_known_scalar_2_2()
1237 l0_%=: r0 = 1; \ in value_ptr_known_scalar_2_2()
1258 if r0 == 0 goto l0_%=; \ in access_unknown_scalar_value_ptr()
1259 r1 = *(u8*)(r0 + 0); \ in access_unknown_scalar_value_ptr()
1261 r1 -= r0; \ in access_unknown_scalar_value_ptr()
1262 r0 = *(u8*)(r1 + 0); \ in access_unknown_scalar_value_ptr()
1263 l0_%=: r0 = 1; \ in access_unknown_scalar_value_ptr()
1273 __failure __msg("R0 min value is negative")
1284 if r0 == 0 goto l0_%=; \ in access_value_ptr_unknown_scalar()
1285 r1 = *(u8*)(r0 + 0); \ in access_value_ptr_unknown_scalar()
1287 r0 -= r1; \ in access_value_ptr_unknown_scalar()
1288 r1 = *(u8*)(r0 + 0); \ in access_value_ptr_unknown_scalar()
1289 l0_%=: r0 = 1; \ in access_value_ptr_unknown_scalar()
1300 __msg_unpriv("R0 pointer arithmetic of map value goes out of range")
1311 if r0 == 0 goto l0_%=; \ in value_ptr_unknown_scalar_2_2()
1312 r1 = *(u8*)(r0 + 0); \ in value_ptr_unknown_scalar_2_2()
1315 r0 += r1; \ in value_ptr_unknown_scalar_2_2()
1316 r1 = *(u8*)(r0 + 0); \ in value_ptr_unknown_scalar_2_2()
1318 r0 -= r1; \ in value_ptr_unknown_scalar_2_2()
1319 r1 = *(u8*)(r0 + 0); \ in value_ptr_unknown_scalar_2_2()
1320 l0_%=: r0 = 1; \ in value_ptr_unknown_scalar_2_2()
1330 __failure __msg("R0 invalid mem access 'scalar'")
1331 __msg_unpriv("R0 pointer -= pointer prohibited")
1341 if r0 == 0 goto l0_%=; \ in access_value_ptr_value_ptr_2()
1342 r0 -= r0; \ in access_value_ptr_value_ptr_2()
1343 r1 = *(u8*)(r0 + 0); \ in access_value_ptr_value_ptr_2()
1344 l0_%=: r0 = 1; \ in access_value_ptr_value_ptr_2()
1359 r0 = 0; \ in to_leak_tainted_dst_reg()
1366 if r0 != 0 goto l0_%=; \ in to_leak_tainted_dst_reg()
1368 l0_%=: r2 = r0; \ in to_leak_tainted_dst_reg()
1372 *(u64*)(r0 + 0) = r2; \ in to_leak_tainted_dst_reg()
1373 r0 = 0; \ in to_leak_tainted_dst_reg()
1394 l0_%=: r0 = 0; \ in __flag()
1415 l0_%=: r0 = 0; \ in __flag()