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
Dave Tucker bf7fdff1ce aya: Find programs using the symbol table
This makes a few changes to the way that Aya reads the ELF object
files.

1. To find programs in a section, we use the symbols table. This allows
   for cases where multiple programs could appear in the same section.
2. When parsing our ELF file we build symbols_by_section_index as an
   optimization as we use it for legacy maps, BTF maps and now programs.

As a result of theses changes the "NAME" used in `bpf.prog_mut("NAME")`
is now ALWAYS the same as the function name in the eBPF code, making the
user experience more consistent.

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
1 year ago
..
.cargo integration-ebpf: add cargo config 1 year ago
src aya: Find programs using the symbol table 1 year ago
Cargo.toml integration-ebpf: invalidate on bpf-linker 1 year ago
build.rs test: document cargo build scripts 1 year ago
rust-toolchain.toml integration-test: use nightly toolchain with ebpf 1 year ago