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/ebpf
Michal Rostecki 497d3e333c
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
..
.cargo chore: Rename bpf dir to ebpf 1 year ago
aya-ebpf ebpf: Call `bpf_probe_read` on `*const T` BTF arguments 5 months ago
aya-ebpf-bindings Release aya-ebpf-cty v0.2.2, aya-ebpf-bindings v0.1.1, aya-ebpf-macros v0.1.1, aya-ebpf v0.1.1 6 months ago
aya-ebpf-cty Release aya-ebpf-cty v0.2.2, aya-ebpf-bindings v0.1.1, aya-ebpf-macros v0.1.1, aya-ebpf v0.1.1 6 months ago
aya-log-ebpf Release aya-log-common v0.1.15, aya-log-ebpf v0.1.1 6 months ago
rust-toolchain.toml chore: Rename bpf dir to ebpf 1 year ago