The following issues were found
tools/testing/selftests/bpf/verifier/map_ret_val.c
1 issues
Line: 65
.errstr_unpriv = "R0 leaks addr",
.result = REJECT,
.flags = F_LOAD_WITH_STRICT_ALIGNMENT,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/masking.c
1 issues
Line: 322
},
.result = ACCEPT,
.retval = 0,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/meta_access.c
1 issues
Line: 235
},
.result = ACCEPT,
.prog_type = BPF_PROG_TYPE_XDP,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/perf_event_sample_period.c
1 issues
Line: 59
},
.result = ACCEPT,
.prog_type = BPF_PROG_TYPE_PERF_EVENT,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/precise.c
1 issues
Line: 194
regs=1 stack=0 before 5",
.result = VERBOSE_ACCEPT,
.retval = -1,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/prevent_map_lookup.c
1 issues
Line: 29
.fixup_prog2 = { 3 },
.result = REJECT,
.errstr = "cannot pass map_type 3 into func bpf_map_lookup_elem",
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/raw_stack.c
1 issues
Line: 305
},
.result = ACCEPT,
.prog_type = BPF_PROG_TYPE_SCHED_CLS,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/raw_tp_writable.c
1 issues
Line: 35
.prog_type = BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE,
.errstr = "R6 invalid variable buffer offset: off=0, var_off=(0x0; 0xffffffff)",
.flags = F_NEEDS_EFFICIENT_UNALIGNED_ACCESS,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/ref_tracking.c
1 issues
Line: 907
.errstr = "invalid mem access",
.result_unpriv = REJECT,
.errstr_unpriv = "unknown func",
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/regalloc.c
1 issues
Line: 277
.fixup_map_hash_48b = { 4 },
.result = ACCEPT,
.prog_type = BPF_PROG_TYPE_TRACEPOINT,
},
Reported by Cppcheck.