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
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
1 year ago
..
.cargo test: Replace RTF with Rust 2 years ago
src bpf: improve bpf_probe_read_kernel_str_bytes and bpf_probe_read_user_str_bytes 1 year ago
Cargo.toml bpf: improve bpf_probe_read_kernel_str_bytes and bpf_probe_read_user_str_bytes 1 year ago
rust-toolchain.toml test: Replace RTF with Rust 2 years ago
rustfmt.toml test: Replace RTF with Rust 2 years ago