Commit Graph

7 Commits (6bdfbc3e0701f06a649040ea159ae1565295ab7e)

Author SHA1 Message Date
Tamir Duberstein 6bdfbc3e07
integration-test: Remove integration-test-macros
This doesn't add any value; use `cargo build --tests` with
`--message-format=json` instead; parse the output using `cargo_metadata`
to discover the location of the test binary.
2 years ago
Mary 9e1109b3ce aya: Move program's functions to the same map 3 years ago
Alessandro Decina 3a8380df26 integration-test: expand full path for IntegrationTest 3 years ago
Alessandro Decina 93ac3e94bc aya: support relocations across multiple text sections + fixes
Fix R_BPF_64_64 text relocations in sections other than .text (for
instance .text.unlikely). Also fix misc bugs triggered by integration
tests.
3 years ago
Michal Rostecki ed9c2a1780 integration-tests: Build eBPF programs always with release profile
Also, add the `codegen-unit` option to the profile.
3 years ago
Shenghui Ye 772af170ae aya-obj: add documentation on program names
This commit adds documentation on how program names are parsed from
section names, as is used by `aya_obj::Object.programs` as HashMap keys,
and updates the examples into using program names.
3 years ago
Shenghui Ye 311ead6760 aya-obj: add integration tests against rbpf 3 years ago