The following issues were found
tools/testing/selftests/bpf/verifier/ctx_sk_lookup.c
1 issues
Line: 500
.result = REJECT,
.prog_type = BPF_PROG_TYPE_SK_LOOKUP,
.expected_attach_type = BPF_SK_LOOKUP,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/ctx_sk_msg.c
1 issues
Line: 181
},
.result = ACCEPT,
.prog_type = BPF_PROG_TYPE_SK_MSG,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/ctx_skb.c
1 issues
Line: 1133
},
.result = ACCEPT,
.prog_type = BPF_PROG_TYPE_SK_SKB,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/d_path.c
1 issues
Line: 37
.prog_type = BPF_PROG_TYPE_TRACING,
.expected_attach_type = BPF_TRACE_FENTRY,
.kfunc = "d_path",
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/dead_code.c
1 issues
Line: 173
},
.result = ACCEPT,
.retval = 0,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/direct_packet_access.c
1 issues
Line: 656
},
.result = ACCEPT,
.prog_type = BPF_PROG_TYPE_SCHED_CLS,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/direct_stack_access_wraparound.c
1 issues
Line: 40
.errstr = "fp pointer offset 1073741822",
.errstr_unpriv = "R1 stack pointer arithmetic goes out of range",
.result = REJECT
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/direct_value_access.c
1 issues
Line: 350
.fixup_map_array_48b = { 1 },
.result = REJECT,
.errstr = "unrecognized bpf_ld_imm64 insn",
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/div0.c
1 issues
Line: 184
.prog_type = BPF_PROG_TYPE_SCHED_CLS,
.result = ACCEPT,
.retval = -1,
},
Reported by Cppcheck.
tools/testing/selftests/bpf/verifier/div_overflow.c
1 issues
Line: 110
.prog_type = BPF_PROG_TYPE_SCHED_CLS,
.result = ACCEPT,
.retval = 1,
},
Reported by Cppcheck.