ebpf 编译问题总结

问题:R1 !read_ok

10: (79) r8 = *(u64 *)(r6 +96)
11: (79) r3 = *(u64 *)(r6 +112)
12: (b7) r9 = 0
13: (73) *(u8 *)(r1 +0) = r9
R1 !read_ok

解决:赋值的变量需要进行初始化

问题:A call to built-in function 'abort' is not supported

in function xxx i32 (%struct.pt_regs*): A call to built-in function 'abort' is not supported

解决:

问题:

posted @ 2022-09-06 20:32  salami_china  阅读(330)  评论(0编辑  收藏  举报