News for hackers. Stuff that matters.
Re:Unit Testing eBPF Programs by danobi on Thursday May 18, 2023 @12:23PM (#35990302)
BPF_PROG_RUN is great but unfortunately depends on the running kernel version. To that end, I wrote `vmtest` (https://dxuuu.xyz/vmtest.html) which is designed for the BPF_PROG_RUN use case.
Re:Unit Testing eBPF Programs by rapidlua on Thursday May 18, 2023 @02:17PM (#35991957)
Thank you for bpftrace! It was a vital aid for kernel spelunking. Very excited to see vmtest. I did a similar tool in the past [1] but never achieved this level of polish.

[1] https://github.com/mejedi/vmwrap