{"repo":"aquasecurity/libbpfgo","free":true,"listed":false,"github":"https://github.com/aquasecurity/libbpfgo","clone":"git clone https://github.com/aquasecurity/libbpfgo.git","description":"eBPF library for Go. Powered by libbpf.","language":"Go","stars":846,"topics":["bpf","golang","go","ebpf","linux"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"libbpfgo ---- Installing Building Concepts Example Releases Learn more libbpfgo is a Go library for Linux's eBPF project. It was created for Tracee, our open source Runtime Security, and eBPF tracing tool, written in Go. If you are interested in eBPF and its applications, check out Tracee at Github: https://github.com/aquasecurity/tracee. libbpfgo is built around libbpf - the standard library for interacting with eBPF programs from userspace - which is a C library maintained in Linux upstream. We have created libbpfgo as a thin Go wrapper around the libbpf project. Installing libbpfgo uses CGO to interop with libbpf and will expect to be linked with libbpf at run or link time. Simply importing libbpfgo is not enough to get started, and you will need to fulfill the required dependency in one of the following ways: 1. Install libbpf as a shared object in the system. Libbpf may already be packaged for your distribution and, if not, you can build and install from source. More info here. 1. Embed libbpf into your Go project as a vendored dependency. This means that the libbpf code is statically linked into the resulting binary, and there are no runtime dependencies. Tracee takes this approach. Building Currently you will find the following GNU Makefile rules: Makefile Rule Description -------------------------- ----------------------------------- all builds libbpfgo (dynamic) clean cleans entire tree selftest builds all selftests (static) selftest-run runs all selftests (static) l","default_branch":null,"files":null,"tree":[],"storefront":"/r/aquasecurity","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aquasecurity/libbpfgo/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}