Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

cbpfc

GoDoc

cbpfc is a classic BPF (cBPF) to extended BPF (eBPF) compiler. It can compile cBPF to eBPF, or to C, and the generated code should be accepted by the kernel verifier.

cbpfc/clang is a simple clang wrapper for compiling C to eBPF.

Tests

Dependencies

  • clang
    • Path can be set via environment variable $CLANG

Unprivileged

  • go test -short

Full

  • Requires:

    • root or CAP_SYS_ADMIN to load XDP programs
    • Recent (4.14+) Linux kernel
  • sudo go test

关于 About

cBPF to C or eBPF compiler

语言 Languages

Go100.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
18
Total Commits
峰值: 5次/周
Less
More

核心贡献者 Contributors