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/aya-obj/src
Dave Tucker e5e38fc5cb 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>
2 years ago
..
btf Remove verifier log special case 2 years ago
generated [codegen] Update libbpf to f7eb43b90f4c8882edf6354f8585094f8f3aade0Update libbpf to f7eb43b90f4c8882edf6354f8585094f8f3aade0 2 years ago
programs aya: flip feature "no_std" to feature "std" 2 years ago
lib.rs Run tests with powerset of features 2 years ago
maps.rs aya: flip feature "no_std" to feature "std" 2 years ago
obj.rs aya: Find programs using the symbol table 2 years ago
relocation.rs Clippy over tests and integration-ebpf 2 years ago
util.rs aya: flip feature "no_std" to feature "std" 2 years ago