mirror of https://github.com/aya-rs/aya
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.
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 |
11 months ago | |
|---|---|---|
| .. | ||
| tests | 11 months ago | |
| lib.rs | 11 months ago | |
| tests.rs | 11 months ago | |
| utils.rs | 1 year ago | |