Skip to content

Releases: aquasecurity/libbpfgo

v0.2.5-libbpf-0.7.0

02 Mar 16:41
c939487

Choose a tag to compare

v0.2.5-libbpf-0.7.0 contains various new helpers, APIs, and code improvements as well as official support for libbpf v0.7.0!

What's Changed

v0.2.4-libbpf-0.6.1

21 Jan 18:24

Choose a tag to compare

v0.2.4-libbpf-0.6.1 is being release to revert changes to error handling that were introduced in the previous release. It reverts commits 088c639 and 3a827b2 but keeps all other parts of the previous release. It also contains small fixes and properly bumps libbpf submodule to 0.6.1.

v0.2.3-libbpf-0.6.1

11 Jan 01:27
088c639

Choose a tag to compare

v0.2.3-libbpf-0.6.1

v0.2.3-libbpf-0.6.1 is a small but impactful release that contains newly implemented libbpf apis, adds many new helper functions, and various quality of life fixes.

Breaking changes

  • #89 contains breaking changes to the helper functions used for parsing system call arguments

New APIs

  • Map batch operations (#97)
  • Program pinning (#96)

New Helpers

  • Parsing of raw arguments from system calls (#89)
  • Security lockdown type detection (#103)

v0.2.2-libbpf-0.5.0

29 Nov 23:34
911d504

Choose a tag to compare

v0.2.2-libbpf-0.5.0 contains various new helpers, documentation additions, and bug fixes. This includes official support for libbpf v0.5.0.

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

What's Changed

New Contributors

Full Changelog: v0.1.1...v0.2.2-libbpf-0.5.0

v0.2.1-libbpf-0.4.0

03 Sep 20:09
29bc86e

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

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

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.