boratanrikulu

gobee

boratanrikulu

Write your BPF programs in Go, not C. gobee transpiles a Go subset to BPF C and generates typed cilium/ebpf bindings.

AI 简介

gobee 是一个将 Go 子集代码转译为 BPF C 的工具,用于编写 Linux 内核侧 eBPF 程序。它支持 tracepoint、kprobe、XDP 等程序类型,自动生成类型安全的 Cilium/ebpf Go 绑定,并提供源码级错误映射(Go 行号 → BPF 验证失败位置)和 CO-RE 兼容性。核心特点是复用 clang 成熟后端而非重写编译器,兼顾可读性与工程可靠性。适用于熟悉 Go 的系统工程师快速开发生产级、可维护的 eBPF 监控、网络或安全策略程序,尤其适合需统一用户态/内核态 Go 生态的场景。

Go
MIT License
337
Stars
4
Forks
1
Watchers
0
Issues

Star 增长

今日0
近 7 天0
近 30 天0
综合评分42.1
默认分支main