mirror of
https://github.com/aya-rs/aya.git
synced 2026-03-03 18:23:55 +01:00
There are various oddities in how the kernel prints path including "(deleted)" suffix, bracketed properties e.g. "[vdso]", ashmem and memfd paths, and possibly others. Rather than try to handle these in `ProcMapEntry::parse` just leave them as they appear and let the caller deal with them. Change splitting behavior to any number of consecutive whitespace characters between columns to account for padding. This allows uprobe attachment to succeed in the presence of deleted mapped files and in more cases of android special attributes. Rewrite tests using `test_case`. Co-authored-by: Tamir Duberstein <tamird@gmail.com> Signed-off-by: cyril <multya77@gmail.com>
38 lines
1.0 KiB
TOML
38 lines
1.0 KiB
TOML
[package]
|
|
description = "An eBPF library with a focus on developer experience and operability."
|
|
documentation = "https://docs.rs/aya"
|
|
keywords = ["bpf", "ebpf", "kernel", "linux"]
|
|
name = "aya"
|
|
readme = "README.md"
|
|
version = "0.13.2"
|
|
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
homepage.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
assert_matches = { workspace = true }
|
|
aya-obj = { path = "../aya-obj", version = "^0.2.2", features = ["std"] }
|
|
bitflags = { workspace = true }
|
|
bytes = { workspace = true }
|
|
hashbrown = { workspace = true }
|
|
libc = { workspace = true }
|
|
log = { workspace = true }
|
|
object = { workspace = true, features = ["elf", "read_core", "std", "write"] }
|
|
once_cell = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
tempfile = { workspace = true }
|
|
test-case = { workspace = true }
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs", "-D", "warnings"]
|