You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aya/test/integration-test/src
Michal Rostecki cbb2602c69
ebpf: Call `bpf_probe_read` on `*const T` BTF arguments
It's necessary to call `bpf_probe_read` not only for pointers retrieved
from `PtRegs`, but also from BTF arguments.

`bpf_probe_read` might return an error, so the return type of `.arg()`
methods in contexts handling BTF arguments changes from `T` to
`Option<T>`. `None` is returned when `bpf_probe_read` call is not
successful.

Fixes: #542
5 months ago
..
tests ebpf: Call `bpf_probe_read` on `*const T` BTF arguments 5 months ago
lib.rs bpf: Add `bpf_strncmp` helper 5 months ago
tests.rs ebpf: Call `bpf_probe_read` on `*const T` BTF arguments 5 months ago
utils.rs aya,integration-test: improve integration tests for info API 8 months ago