Lines Matching full:r2
22 r2 = *(u32*)(r1 + 0); \ in variable_offset_ctx_access()
24 r2 &= 4; \ in variable_offset_ctx_access()
28 r1 += r2; \ in variable_offset_ctx_access()
38 __msg_unpriv("R2 variable stack access prohibited for !root")
47 r2 = *(u32*)(r1 + 0); \ in stack_read_priv_vs_unpriv()
49 r2 &= 4; \ in stack_read_priv_vs_unpriv()
50 r2 -= 8; \ in stack_read_priv_vs_unpriv()
54 r2 += r10; \ in stack_read_priv_vs_unpriv()
56 r0 = *(u32*)(r2 + 0); \ in stack_read_priv_vs_unpriv()
65 __failure_unpriv __msg_unpriv("R2 variable stack access prohibited for !root")
70 r2 = *(u32*)(r1 + 0); \ in variable_offset_stack_read_uninitialized()
72 r2 &= 4; \ in variable_offset_stack_read_uninitialized()
73 r2 -= 8; \ in variable_offset_stack_read_uninitialized()
77 r2 += r10; \ in variable_offset_stack_read_uninitialized()
79 r0 = *(u32*)(r2 + 0); \ in variable_offset_stack_read_uninitialized()
95 __msg_unpriv("R2 variable stack access prohibited for !root")
101 r2 = *(u32*)(r1 + 0); \ in stack_write_priv_vs_unpriv()
103 r2 &= 8; \ in stack_write_priv_vs_unpriv()
104 r2 -= 16; \ in stack_write_priv_vs_unpriv()
108 r2 += r10; \ in stack_write_priv_vs_unpriv()
111 *(u64*)(r2 + 0) = r0; \ in stack_write_priv_vs_unpriv()
133 __msg_unpriv("R2 variable stack access prohibited for !root")
139 r2 = *(u32*)(r1 + 0); \ in stack_write_followed_by_read()
141 r2 &= 8; \ in stack_write_followed_by_read()
142 r2 -= 16; \ in stack_write_followed_by_read()
146 r2 += r10; \ in stack_write_followed_by_read()
149 *(u64*)(r2 + 0) = r0; \ in stack_write_followed_by_read()
151 r3 = *(u64*)(r2 + 0); \ in stack_write_followed_by_read()
165 __msg("R2 invalid mem access 'scalar'")
170 __msg_unpriv("R2 variable stack access prohibited for !root")
181 r2 = *(u32*)(r1 + 0); \ in stack_write_clobbers_spilled_regs()
183 r2 &= 8; \ in stack_write_clobbers_spilled_regs()
184 r2 -= 16; \ in stack_write_clobbers_spilled_regs()
188 r2 += r10; \ in stack_write_clobbers_spilled_regs()
193 *(u64*)(r2 + 0) = r0; \ in stack_write_clobbers_spilled_regs()
194 /* Fill the register back into R2 */ \ in stack_write_clobbers_spilled_regs()
195 r2 = *(u64*)(r10 - 8); \ in stack_write_clobbers_spilled_regs()
196 /* Try to dereference R2 for a memory load */ \ in stack_write_clobbers_spilled_regs()
197 r0 = *(u64*)(r2 + 8); \ in stack_write_clobbers_spilled_regs()
210 r2 = 6; \ in variable_offset_stack_access_unbounded()
239 __failure __msg("invalid variable-offset indirect access to stack R2")
244 r2 = 0; \ in access_max_out_of_bound()
245 *(u64*)(r10 - 8) = r2; \ in access_max_out_of_bound()
247 r2 = *(u32*)(r1 + 0); \ in access_max_out_of_bound()
249 r2 &= 4; \ in access_max_out_of_bound()
250 r2 -= 8; \ in access_max_out_of_bound()
254 r2 += r10; \ in access_max_out_of_bound()
286 r2 = 0; \ in zero_sized_access_max_out_of_bound()
297 __failure __msg("invalid variable-offset indirect access to stack R2")
302 r2 = 0; \ in access_min_out_of_bound()
303 *(u64*)(r10 - 8) = r2; \ in access_min_out_of_bound()
305 r2 = *(u32*)(r1 + 0); \ in access_min_out_of_bound()
307 r2 &= 4; \ in access_min_out_of_bound()
308 r2 -= 516; \ in access_min_out_of_bound()
312 r2 += r10; \ in access_min_out_of_bound()
327 __failure_unpriv __msg_unpriv("R2 variable stack access prohibited for !root")
332 r2 = 0; \ in access_min_off_min_initialized()
333 *(u64*)(r10 - 8) = r2; \ in access_min_off_min_initialized()
335 r2 = *(u32*)(r1 + 0); \ in access_min_off_min_initialized()
337 r2 &= 4; \ in access_min_off_min_initialized()
338 r2 -= 16; \ in access_min_off_min_initialized()
342 r2 += r10; \ in access_min_off_min_initialized()
357 __msg_unpriv("R2 variable stack access prohibited for !root")
363 r2 = 0; \ in stack_access_priv_vs_unpriv()
364 *(u64*)(r10 - 16) = r2; \ in stack_access_priv_vs_unpriv()
365 r2 = 0; \ in stack_access_priv_vs_unpriv()
366 *(u64*)(r10 - 8) = r2; \ in stack_access_priv_vs_unpriv()
368 r2 = *(u32*)(r1 + 0); \ in stack_access_priv_vs_unpriv()
370 r2 &= 4; \ in stack_access_priv_vs_unpriv()
371 r2 -= 16; \ in stack_access_priv_vs_unpriv()
375 r2 += r10; \ in stack_access_priv_vs_unpriv()
394 r2 = 0; \ in variable_offset_stack_access_ok()
395 *(u64*)(r10 - 16) = r2; \ in variable_offset_stack_access_ok()
396 r2 = 0; \ in variable_offset_stack_access_ok()
397 *(u64*)(r10 - 8) = r2; \ in variable_offset_stack_access_ok()
399 r2 = *(u32*)(r1 + 0); \ in variable_offset_stack_access_ok()
401 r2 &= 4; \ in variable_offset_stack_access_ok()
402 r2 -= 16; \ in variable_offset_stack_access_ok()
406 r2 += r10; \ in variable_offset_stack_access_ok()