i am now debugging an elf parser
-
i am now debugging an elf parser
fml
-
@noah, what cursed ebpf did you do to break it?
-
@aqshafei there is nothing cursed about my bpf!
i am trying to use aya to load a program which loads fine under bpftool
-
it works, thanks to https://docs.rs/aya/latest/aya/macro.include_bytes_aligned.html
the elf library was not to blame, the bpf program i `include!`'ed into the binary was simply not aligned
which wasn't going to work lol
-
gonna open a doc pr tomorrow to explain that you need to do this
Copyright © 2024 NodeBB | Contributors