Debian Codegraph @

testdata/invalid-kfunc.c

raw symbols SCIP
1 #include "common.h"
2
3 char __license[] __section("license") = "Dual MIT/GPL";
4
5 // This function declaration is incorrect on purpose.
6 extern void bpf_kfunc_call_test_mem_len_pass1(void) __ksym;
7
8 __section("tc") int call_kfunc() {
9 bpf_kfunc_call_test_mem_len_pass1();
10 return 1;
11 }