Projects
View on GitHub
cloudflare/cbpfc
About
cBPF to C or eBPF compiler
Languages & RuntimesMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalcbpfc
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
- Path can be set via environment variable
Unprivileged
go test -short
Full
Requires:
rootorCAP_SYS_ADMINto load XDP programs- Recent (4.14+) Linux kernel
sudo go test
Explore related projects
Loading…