b1tg / ebpf-emu

eBPF emulator
0 stars 1 forks source link

Suggestion: Validate your emulator using bpf_conformance #1

Open Alan-Jowett opened 1 year ago

Alan-Jowett commented 1 year ago

The BPF ISA has a conformance test that I maintain. It would make sense to write a plugin that wraps your emulator and then test your emulators conformance to the BPF ISA.

The bpf_conformance suite is designed to use a simple stdin/stdout model for passing to and from the plugin, so it should work across an language.

b1tg commented 1 year ago

That's cool. I've been struggling to do the ISA test part, this would help a lot. I'll give it a try, thanks for the suggestion.