Skip to content

Releases: aquasecurity/libbpfgo

v0.2.1-libbpf-0.4.0

03 Sep 20:09
29bc86e
Compare
Choose a tag to compare

v0.2.1-libbpf-0.4.0

  • Extensions to the API for libbpf including the ability to support custom BTF files
  • An overhaul to helpers for checking kernel config
  • Minor bug fixes

See here for information about how we semantically version libbpfgo releases.

List of changes

29bc86e - Add BPFLink.Destroy (#69) (Derek Parker)
1d1da58 - helpers/common: nit fix: gotfmt (Rafael David Tinoco)
efc3f40 - helpers/kernel_config: AddCustomKernelConfigs prototype change (Rafael David Tinoco)
dc406ff - helpers/kernel_config: force KernelConfigOption type to be used (Rafael David Tinoco)
b137715 - helpers/kernel_config: add custom KernelConfigOption's to the logic (Rafael David Tinoco)
3179924 - helpers/kernel_config.go: create export kConfigFilePath through function (Rafael David Tinoco)
0ccd53e - helpers/osinfo: export functions to access internal fields (Rafael David Tinoco)
a453321 - helpers/common: move CompareKernelRelease to common (Rafael David Tinoco)
afc530e - helpers/osinfo: unexport internal types (Rafael David Tinoco)
4dd0441 - helpers/common: make UnameRelease() a common function (Rafael David Tinoco)
3c1567b - helpers/osinfo: osinfo refactoring for env variable (Rafael David Tinoco)
95380e5 - helpers/kernel_config: kernel_features refactoring (Rafael David Tinoco)
59c9cc3 - helpers/common: functions common to all helpers (Rafael David Tinoco)
43fae25 - helpers/btfinfo: rename to osinfo and improve API (Rafael David Tinoco)
1e07685 - helpers/kernel_features: allow kconfig override (Rafael David Tinoco)
5fde94f - kernel_features: fix kconfig file read logic for procfs config.gz (Rafael David Tinoco)
7b38633 - kernel_features: fix tests for new KernelConfig (Rafael David Tinoco)
c3b9bd6 - checking if new operation in newbtfino succeeded (Michael Tcherniack)
a2a0e13 - kernel_features: bring MissingKernelConfigOptions to helper (#57) (Rafael David Tinoco)
0bbee70 - libbpfgo: run lint tool and fix issues (#54) (Rafael David Tinoco)
e8b2d25 - helpers: add initial btfinfo (Rafael David Tinoco)
0438957 - libbpfgo: change BPFProg.GetFd() return to int Go type (Geyslan G. Bem)
871dc67 - libbpfgo: support external BTF files (Rafael David Tinoco)
239e902 - libbpf: update to latest to have btf_custom_path support (Rafael David Tinoco)
391db95 - Fix init_perf_buf error handling (Jose Donizetti)

v0.1.1

15 Jun 16:27
2245dce
Compare
Choose a tag to compare

The main new feature of this release is support for loading/attaching of tc bpf programs.

  • Adds support for tc programs
  • Adds support for uprobe programs
  • Selftests
  • Improved logo
  • Improved README

v0.1.0

19 May 15:34
Compare
Choose a tag to compare

An initial baseline release which includes the following features:

  • Loading of bpf objects to initialize a type Module.
  • Attachment of bpf programs to hooks of the following types:
    • Kprobe
    • Kretprobe
    • LSM
    • Raw tracepoint
    • tracepoint
  • A generic BPFMap mechanism for interacting with (updating, getting values, deleting keys, iterating, resizing,...) bpf maps.
  • Reading of perf buffers and ring buffers

See the discussion here about moving libbpfgo to its own repository from tracee.