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-ebpf/src
Alessandro Decina 11c227743d bpf: improve bpf_probe_read_kernel_str_bytes and bpf_probe_read_user_str_bytes
This change does a few things:

- it fixes a bug in the wrappers, where we were expecting the kernel to
  return len=1 for b"\0" where it instead returns 0 and doesn't write
  out the NULL terminator

- it makes the helpers more robust by hardcoding bound checks in
  assembly so that LLVM optimizations can't transform the checks in a
  way that the verifier can't understand.

- it adds integration tests
2 years ago
..
bpf integration tests: add relocation tests 2 years ago
bpf_probe_read.rs bpf: improve bpf_probe_read_kernel_str_bytes and bpf_probe_read_user_str_bytes 2 years ago
log.rs aya-log-ebpf: avoid requiring Copy 2 years ago
map_test.rs aya-bpf: Add multibuffer support for XDP 3 years ago
name_test.rs test: Replace RTF with Rust 3 years ago
pass.rs aya-bpf: Add multibuffer support for XDP 3 years ago
relocations.rs integration tests: add relocation tests 2 years ago
test.rs aya: fix detaching links on drop 3 years ago