Integrate the eBPF Program Generation library into Syzkaller
Per #19 it would be really nice to integrate the generation of eBPF Programs into Syzkaller.
This has several benefits, but the one that is the most attractive is that Syzkaller has a more robust set of features that have been actively developed for a while, the most attractive from an eBPF standpoint is the capability to bring up a number of VMs and fuzz…
Per #19 it would be really nice to integrate the generation of eBPF Programs into Syzkaller.
This has several benefits, but the one that is the most attractive is that Syzkaller has a more robust set of features that have been actively developed for a while, the most attractive from an eBPF standpoint is the capability to bring up a number of VMs and fuzz potentially different versions of the kernel.
In order to achieve this integration, the code under pkg/ebpf would need to be made accessible to other open source projects. We can potentially achieve this by declaring the ebpf library as a go module (including a go.mod file).
Then we also need to expose an interface that Syzkaller can invoke to generate/mutate an eBPF Program (more details on how this interface would be used can be found here: dvyukov/syzkaller@1dadad1#diff-8d970a6b0e2c9160fff3960a55eac00eb7f32fea4608550d7b515d7f346f1eccR435