News for hackers. Stuff that matters.
Re:Standardizing BPF by rwmj on Friday April 21, 2023 @07:27AM (#35652227)
Is there a full userspace version of Linux eBPF now? Last time I looked the userspace implementations were all very partial and in particular didn't include the verifier.
Re:Standardizing BPF by manifault on Friday April 21, 2023 @07:40AM (#35652313)
Not sure if there's a full user space runtime for BPF progs, but there are lots of user space tools which are usefule for working with BPF progs. For example, you can use veristat (https://github.com/libbpf/veristat) to verify a BPF prog in user space.
Re:Standardizing BPF by rendaw on Friday April 21, 2023 @10:19AM (#35654151)
I don't want an independent userspace implementation, I want the verifier the kernel uses. I'm was looking into this and I'm not sure why it can't be pulled out. I guess depending on what you're plugging the eBPF into the environment (functions, etc) may be tightly coupled to the kernel, but surely the loop analysis and stuff could?

It basically forces you to program on a live system. No CI, no static analysis, no editor help, etc.

Re:Standardizing BPF by rektide on Friday April 21, 2023 @10:22AM (#35654179)