Home
last modified time | relevance | path

Searched refs:__msg (Results 1 – 25 of 127) sorted by relevance

123456

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dverifier_subprog_precision.c42 __msg("7: (0f) r1 += r0")
43 __msg("mark_precise: frame0: regs=r0 stack= before 6: (bf) r1 = r7")
44 __msg("mark_precise: frame0: regs=r0 stack= before 5: (27) r0 *= 4")
45 __msg("mark_precise: frame0: regs=r0 stack= before 11: (95) exit")
46 __msg("mark_precise: frame1: regs=r0 stack= before 10: (bf) r0 = r1")
47 __msg("mark_precise: frame1: regs=r1 stack= before 4: (85) call pc+5")
48 __msg("mark_precise: frame0: regs=r1 stack= before 3: (bf) r1 = r6")
49 __msg("mark_precise: frame0: regs=r6 stack= before 2: (b7) r6 = 3")
101 __msg("6: (0f) r1 += r0")
102 __msg("mark_precise: frame0: last_idx 6 first_idx 0 subseq_idx -1")
[all …]
Dverifier_scalar_ids.c16 __msg("6: (0f) r3 += r0")
17 __msg("frame0: regs=r0 stack= before 4: (25) if r1 > 0x7 goto pc+0")
18 __msg("frame0: parent state regs=r0,r1,r2 stack=:")
19 __msg("frame0: regs=r0,r1,r2 stack= before 3: (bf) r2 = r0")
21 __msg("from 4 to 5: ")
22 __msg("6: (0f) r3 += r0")
23 __msg("frame0: regs=r0 stack= before 5: (bf) r3 = r10")
24 __msg("frame0: regs=r0 stack= before 4: (25) if r1 > 0x7 goto pc+0")
26 __msg("frame0: parent state regs= stack=:")
57 __msg("frame0: regs=r0 stack= before 5: (2d) if r1 > r3 goto pc+0") in __flag()
[all …]
Dverifier_spill_fill.c87 __failure __msg("R0 pointer arithmetic on ringbuf_mem_or_null prohibited")
123 __failure __msg("R0 invalid mem access 'scalar'")
252 __failure __msg("math between pkt pointer and register with unbounded min value is not allowed")
278 __failure __msg("invalid access to packet")
310 __failure __msg("invalid access to packet")
387 __failure __msg("math between ctx pointer and 4294967295 is not allowed")
427 __failure __msg("dereference of modified ctx ptr R6 off=65535 disallowed")
467 __msg("fp-8=0m??scalar()")
468 __msg("fp-16=00mm??scalar()")
469 __msg("fp-24=00mm???scalar()")
[all …]
Dverifier_precision.c9 __msg("mark_precise: frame0: regs=r2 stack= before 3: (bf) r1 = r10")
10 __msg("mark_precise: frame0: regs=r2 stack= before 2: (55) if r2 != 0xfffffff8 goto pc+2")
11 __msg("mark_precise: frame0: regs=r2 stack= before 1: (87) r2 = -r2")
12 __msg("mark_precise: frame0: regs=r2 stack= before 0: (b7) r2 = 8")
29 __msg("mark_precise: frame0: regs=r2 stack= before 3: (bf) r1 = r10")
30 __msg("mark_precise: frame0: regs=r2 stack= before 2: (55) if r2 != 0x0 goto pc+2")
31 __msg("mark_precise: frame0: regs=r2 stack= before 1: (d4) r2 = le16 r2")
32 __msg("mark_precise: frame0: regs=r2 stack= before 0: (b7) r2 = 0")
50 __msg("mark_precise: frame0: regs=r2 stack= before 3: (bf) r1 = r10")
51 __msg("mark_precise: frame0: regs=r2 stack= before 2: (55) if r2 != 0x0 goto pc+2")
[all …]
Dexceptions_assert.c21 __msg(": R0_w=0xffffffff80000000")
23 __msg(": R0_w=0x7fffffff")
25 __msg(": R0_w=0")
27 __msg(": R0_w=0x8000000000000000 R1_w=0x8000000000000000")
29 __msg(": R0_w=0x7fffffffffffffff R1_w=0x7fffffffffffffff")
32 __msg(": R0_w=scalar(id=1,smax=0x7ffffffe)")
34 __msg(": R0_w=scalar(id=1,smax=-1,umin=0x8000000000000000,var_off=(0x8000000000000000; 0x7fffffffff…
36 __msg(": R0_w=scalar(id=1,smax=0xffffffff7fffffff")
39 __msg(": R0_w=scalar(id=1,smax=0x7fffffff)")
41 __msg(": R0_w=scalar(id=1,smax=0)")
[all …]
Ddynptr_fail.c81 __failure __msg("Unreleased reference id=2")
94 __failure __msg("Unreleased reference id=4")
130 __failure __msg("Unreleased reference id")
139 __failure __msg("arg 1 is an unacquired reference")
152 __failure __msg("Expected an initialized dynptr as arg #3")
172 __failure __msg("type=mem expected=ringbuf_mem")
195 __failure __msg("invalid indirect read from stack")
213 __failure __msg("invalid indirect read from stack")
231 __failure __msg("value is outside of the allowed memory range")
253 __failure __msg("value is outside of the allowed memory range")
[all …]
Diters_state_safety.c33 __msg("fp-8_w=iter_num(ref_id=1,state=active,depth=0)")
56 __failure __msg("Unreleased reference id=1")
76 __failure __msg("expected an initialized iter_num as arg #1")
94 __failure __msg("expected an initialized iter_num as arg #1")
121 __failure __msg("Unreleased reference id=1")
146 __failure __msg("expected an initialized iter_num as arg #1")
188 __msg("returning from callee:")
189 __msg("Unreleased reference id=1")
199 __msg("fp-8_w=iter_num(ref_id=1,state=active,depth=0)")
233 __failure __msg("expected uninitialized iter_num as arg #1")
[all …]
Dexceptions_fail.c54 __failure __msg("Global function exception_cb_bad_ret_type() doesn't return scalar.") in __exception_cb()
63 __failure __msg("exception cb only supports single integer argument") in __exception_cb()
72 __failure __msg("exception cb only supports single integer argument") in __exception_cb()
96 __failure __msg("cannot be called from callback subprog")
118 __failure __msg("function calls are not allowed while holding a lock")
127 __failure __msg("function calls are not allowed while holding a lock")
134 __failure __msg("bpf_rcu_read_unlock is missing")
150 __failure __msg("bpf_rcu_read_unlock is missing")
164 __failure __msg("function calls are not allowed while holding a lock")
179 __failure __msg("Unreleased reference")
[all …]
Dverifier_sock_addr.c17 __failure __msg("At program exit the register R0 has smin=0 smax=0 should have been in [1, 1]")
31 __failure __msg("At program exit the register R0 has smin=0 smax=0 should have been in [1, 1]")
45 __failure __msg("At program exit the register R0 has smin=0 smax=0 should have been in [1, 1]")
66 __failure __msg("At program exit the register R0 has smin=2 smax=2 should have been in [0, 1]")
87 __failure __msg("At program exit the register R0 has smin=2 smax=2 should have been in [0, 1]")
108 __failure __msg("At program exit the register R0 has smin=2 smax=2 should have been in [0, 1]")
122 __failure __msg("At program exit the register R0 has smin=0 smax=0 should have been in [1, 1]")
136 __failure __msg("At program exit the register R0 has smin=0 smax=0 should have been in [1, 1]")
150 __failure __msg("At program exit the register R0 has smin=0 smax=0 should have been in [1, 1]")
164 __failure __msg("At program exit the register R0 has smin=0 smax=0 should have been in [1, 1]")
[all …]
Dtask_kfunc_failure.c31 __failure __msg("Possibly NULL pointer passed to trusted arg0")
52 __failure __msg("arg#0 pointer type STRUCT task_struct must point")
68 __failure __msg("calling kernel function bpf_task_acquire is not allowed")
83 __failure __msg("calling kernel function bpf_task_acquire is not allowed")
103 __failure __msg("Possibly NULL pointer passed to trusted arg0")
118 __failure __msg("Unreleased reference")
132 __failure __msg("Unreleased reference")
152 __failure __msg("Possibly NULL pointer passed to trusted arg0")
165 __failure __msg("Possibly NULL pointer passed to trusted arg0")
181 __failure __msg("arg#0 pointer type STRUCT task_struct must point")
[all …]
Dverifier_helper_restricted.c33 __failure __msg("program of this type cannot use helper bpf_ktime_get_coarse_ns")
47 __failure __msg("program of this type cannot use helper bpf_ktime_get_coarse_ns")
61 __failure __msg("program of this type cannot use helper bpf_ktime_get_coarse_ns")
75 __failure __msg("program of this type cannot use helper bpf_ktime_get_coarse_ns")
89 __failure __msg("tracing progs cannot use bpf_timer yet")
114 __failure __msg("tracing progs cannot use bpf_timer yet")
139 __failure __msg("tracing progs cannot use bpf_timer yet")
164 __failure __msg("tracing progs cannot use bpf_timer yet")
189 __failure __msg("tracing progs cannot use bpf_spin_lock yet")
212 __failure __msg("tracing progs cannot use bpf_spin_lock yet")
[all …]
Dmap_kptr_fail.c24 __failure __msg("kptr access size must be BPF_DW")
39 __failure __msg("kptr access cannot have variable offset")
58 __failure __msg("R1 doesn't have constant offset. kptr has to be")
77 __failure __msg("kptr access misaligned expected=8 off=7")
93 __failure __msg("kptr access misaligned expected=8 off=1")
107 __failure __msg("variable untrusted_ptr_ access var_off=(0x0; 0x1e0)")
131 __failure __msg("invalid kptr access, R1 type=untrusted_ptr_prog_test_ref_kfunc")
152 __failure __msg("R1 type=untrusted_ptr_or_null_ expected=percpu_ptr_")
167 __failure __msg("access beyond struct prog_test_ref_kfunc at off 32 size 4")
185 __failure __msg("R1 type=untrusted_ptr_ expected=percpu_ptr_")
[all …]
Dverifier_helper_value_access.c99 __failure __msg("R2 invalid zero-sized read: u64=[0,0]")
126 __failure __msg("R2 invalid zero-sized read: u64=[0,4]")
155 __failure __msg("invalid access to map value, value_size=48 off=0 size=56")
181 __failure __msg("R2 min value is negative")
261 __failure __msg("R2 invalid zero-sized read")
287 __failure __msg("invalid access to map value, value_size=48 off=4 size=52")
315 __failure __msg("R2 min value is negative")
342 __failure __msg("R2 min value is negative")
426 __failure __msg("R2 invalid zero-sized read")
452 __failure __msg("invalid access to map value, value_size=48 off=4 size=52")
[all …]
Dverifier_global_ptr_args.c29 __msg("Validating subprog_trusted_task_nullable() func#1...")
30 __msg(": R1=trusted_ptr_or_null_task_struct(")
66 __msg("R1 type=scalar expected=ptr_, trusted_ptr_, rcu_ptr_")
67 __msg("Caller passes invalid args into func#1 ('subprog_trusted_task_nonnull')")
75 __msg("R1 type=ptr_or_null_ expected=ptr_, trusted_ptr_, rcu_ptr_")
76 __msg("Caller passes invalid args into func#1 ('subprog_trusted_task_nonnull')")
96 __msg("Validating subprog_trusted_task_nonnull() func#1...")
97 __msg(": R1=trusted_ptr_task_struct(")
120 __msg("Validating subprog_nullable_task_flavor() func#1...")
121 __msg(": R1=trusted_ptr_or_null_task_struct(")
[all …]
Dverifier_ref_tracking.c112 __failure __msg("Unreleased reference")
127 __failure __msg("Unreleased reference")
142 __failure __msg("Unreleased reference")
160 __failure __msg("Unreleased reference")
180 __failure __msg("Unreleased reference")
195 __failure __msg("Unreleased reference")
210 __failure __msg("Unreleased reference")
266 __failure __msg("Possibly NULL pointer passed to trusted arg0")
285 __failure __msg("Possibly NULL pointer passed to trusted arg0")
303 __failure __msg("Possibly NULL pointer passed to trusted arg0")
[all …]
Diters_testmod_seq.c23 __msg("fp-16_w=iter_testmod_seq(ref_id=1,state=active,depth=0)")
24 __msg("fp-16=iter_testmod_seq(ref_id=1,state=drained,depth=0)")
25 __msg("call bpf_iter_testmod_seq_destroy")
41 __msg("fp-16_w=iter_testmod_seq(ref_id=1,state=active,depth=0)")
42 __msg("fp-16=iter_testmod_seq(ref_id=1,state=drained,depth=0)")
43 __msg("call bpf_iter_testmod_seq_destroy")
61 __msg("fp-16_w=iter_testmod_seq(ref_id=1,state=active,depth=0)")
62 __msg("fp-16=iter_testmod_seq(ref_id=1,state=drained,depth=0)")
63 __msg("call bpf_iter_testmod_seq_destroy")
82 __msg("expected an initialized iter_testmod_seq as arg #2")
[all …]
Dverifier_vfs_reject.c15 __failure __msg("Possibly NULL pointer passed to trusted arg0")
30 __failure __msg("arg#0 pointer type STRUCT task_struct must point to scalar, or struct with scalar")
48 __failure __msg("R1 must be referenced or trusted")
68 __failure __msg("Unreleased reference")
82 __failure __msg("release kernel function bpf_put_file expects")
91 __failure __msg("Possibly NULL pointer passed to trusted arg0")
100 __failure __msg("R1 must be referenced or trusted")
114 __failure __msg("R1 must be referenced or trusted")
130 __failure __msg("kernel function bpf_path_d_path args#0 expected pointer to STRUCT path but R1 has …
138 __failure __msg("invalid access to map value, value_size=4096 off=0 size=8192")
[all …]
Dverifier_cfg.c10 __failure __msg("unreachable")
22 __failure __msg("unreachable")
35 __failure __msg("jump out of range")
48 __failure __msg("jump out of range")
60 __failure __msg("unreachable insn 1")
72 __failure __msg("unreachable insn 4")
87 __failure __msg("infinite loop detected")
124 __failure __msg("infinite loop detected")
150 __failure __msg("infinite loop detected")
Dverifier_bounds_mix_sign_unsign.c17 __failure __msg("unbounded min value")
49 __failure __msg("unbounded min value")
81 __failure __msg("unbounded min value")
115 __failure __msg("unbounded min value")
179 __failure __msg("unbounded min value")
212 __failure __msg("R4 min value is negative, either use unsigned")
275 __failure __msg("unbounded min value")
342 __failure __msg("unbounded min value")
376 __failure __msg("unbounded min value")
411 __failure __msg("unbounded min value")
[all …]
Dverifier_stack_ptr.c40 __failure __msg("misaligned stack access off 0+-8+2 size 8")
56 __failure __msg("misaligned stack access off 0+-10+8 size 8")
72 __failure __msg("invalid write to stack R1 off=-79992 size=8")
88 __failure __msg("invalid write to stack R1 off=0 size=8")
150 __failure __msg("invalid write to stack R1 off=0 size=1")
166 __failure __msg("invalid write to stack R1")
184 __failure __msg("invalid write to stack")
203 __failure __msg("fp pointer offset")
255 __failure __msg("invalid write to stack R1 off=-513 size=1")
271 __failure __msg("math between fp pointer")
[all …]
Dverifier_cgroup_storage.c51 __failure __msg("cannot pass map_type 1 into func bpf_get_local_storage")
71 __failure __msg("fd 1 is not pointing to valid bpf_map")
90 __failure __msg("invalid access to map value, value_size=64 off=256 size=4")
110 __failure __msg("invalid access to map value, value_size=64 off=-2 size=4")
131 __failure __msg("get_local_storage() doesn't support non-zero flags")
151 __failure __msg("get_local_storage() doesn't support non-zero flags")
190 __failure __msg("cannot pass map_type 1 into func bpf_get_local_storage")
210 __failure __msg("fd 1 is not pointing to valid bpf_map")
229 __failure __msg("invalid access to map value, value_size=64 off=256 size=4")
249 __failure __msg("invalid access to map value, value_size=64 off=-2 size=4")
[all …]
Dpreempt_lock.c9 __failure __msg("1 bpf_preempt_enable is missing")
17 __failure __msg("2 bpf_preempt_enable(s) are missing")
26 __failure __msg("3 bpf_preempt_enable(s) are missing")
36 __failure __msg("1 bpf_preempt_enable is missing")
58 __failure __msg("1 bpf_preempt_enable is missing")
66 __failure __msg("2 bpf_preempt_enable(s) are missing")
75 __failure __msg("1 bpf_preempt_enable is missing")
105 __failure __msg("sleepable helper bpf_copy_from_user#")
123 __failure __msg("global function calls are not allowed with preemption disabled")
Dcgrp_kfunc_failure.c32 __failure __msg("Possibly NULL pointer passed to trusted arg0")
51 __failure __msg("Possibly NULL pointer passed to trusted arg0")
67 __failure __msg("arg#0 pointer type STRUCT cgroup must point")
81 __failure __msg("calling kernel function bpf_cgroup_acquire is not allowed")
95 __failure __msg("cgrp_kfunc_acquire_trusted_walked")
109 __failure __msg("Possibly NULL pointer passed to trusted arg0")
123 __failure __msg("Unreleased reference")
137 __failure __msg("Unreleased reference")
157 __failure __msg("must be referenced or trusted")
178 __failure __msg("Possibly NULL pointer passed to trusted arg0")
[all …]
Dverifier_bounds.c17 __failure __msg("R0 max value is outside of the allowed memory range")
49 __msg("R0 min value is negative, either use unsigned index or do a if (index >=0) check.")
142 __failure __msg("map_value pointer and 4294967295")
173 __failure __msg("R0 min value is outside of the allowed memory range")
204 __failure __msg("value_size=8 off=1073741825")
233 __failure __msg("value 1073741823")
304 __msg("value -4294967168 makes map_value pointer be out of bounds")
344 __failure __msg("value -4294967168 makes map_value pointer be out of bounds")
418 __failure __msg("R0 max value is outside of the allowed memory range")
451 __failure __msg("R0 unbounded memory access")
[all …]
Duser_ringbuf_fail.c44 __failure __msg("negative offset dynptr_ptr ptr")
67 __failure __msg("dereference of modified dynptr_ptr ptr")
87 __failure __msg("invalid mem access 'dynptr_ptr'")
107 __failure __msg("invalid mem access 'scalar'")
129 __failure __msg("invalid mem access 'scalar'")
149 __failure __msg("cannot release unowned const bpf_dynptr")
169 __failure __msg("cannot release unowned const bpf_dynptr")
187 __failure __msg("At callback return the register R0 has ")
210 __failure __msg("Dynptr has to be an uninitialized dynptr")
218 __failure __msg("Dynptr has to be an uninitialized dynptr")
[all …]

123456