The following issues were found
tools/testing/selftests/bpf/verifier/ld_abs.c
1 issues
Line: 286
.prog_type = BPF_PROG_TYPE_SCHED_CLS,
.result = ACCEPT,
.retval = 10,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/ld_dw.c
1 issues
Line: 45
.prog_type = BPF_PROG_TYPE_SCHED_CLS,
.result = ACCEPT,
.retval = 1000000 - 6,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/ld_imm64.c
1 issues
Line: 146
.fixup_map_hash_48b = { 1 },
.errstr = "unrecognized bpf_ld_imm64 insn",
.result = REJECT,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/ld_ind.c
1 issues
Line: 72
},
.result = ACCEPT,
.retval = 1,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/leak_ptr.c
1 issues
Line: 67
.errstr_unpriv = "R6 leaks addr into mem",
.result_unpriv = REJECT,
.result = ACCEPT,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/loops1.c
1 issues
Line: 206
.result = ACCEPT,
.prog_type = BPF_PROG_TYPE_XDP,
.retval = 55,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/lwt.c
1 issues
Line: 189
.result = REJECT,
.errstr = "invalid bpf_context access",
.prog_type = BPF_PROG_TYPE_LWT_IN,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/map_in_map.c
1 issues
Line: 62
.fixup_map_in_map = { 3 },
.errstr = "R1 type=map_value_or_null expected=map_ptr",
.result = REJECT,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/map_ptr.c
1 issues
Line: 99
.result_unpriv = REJECT,
.errstr_unpriv = "R0 has pointer with unsupported alu operation",
.result = ACCEPT,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/map_ptr_mixing.c
1 issues
Line: 100
.result_unpriv = ACCEPT,
.result = ACCEPT,
.retval = 42,
},
Reported by Cppcheck.