bpf_conformance
bpf_conformance copied to clipboard
Measures the conformance of a BPF runtime to the ISA.
The bpf_conformance suite has an assembler, but doesn't have a disassembler. It would be useful to add this for debugging purposes.
Some of the BPF lddw instructions modes require maps to operate on. To test this, the bpf_conformance_runner needs to parse out map information and pass it to the BPF runner.
call_unwind_fail.data tests calling a helper function by address. But the spec (and Linux) also allow calling by BTF ID when src = 0x02. See [Helper functions](https://www.ietf.org/archive/id/draft-ietf-bpf-isa-00.html#helper-functions) ([Section 3.3.1](https://www.ietf.org/archive/id/draft-ietf-bpf-isa-00.html#helper-functions))
FindLibBpf.cmake should check for version of libbpf with required features. Some Linux distributions have older versions of libbpf with out the required features.
The bpf_conformance tests depend on libbpf and pull a specific version tag. This isn't automatically updated by dependabot.
The bpf_conformance project has a dependency on boost and libbpf libraries to build. The README.md should be updated to note what the dependency are.
A change made to bpf_conformance apparently breaks the verifier compilation, so I’m trying to determine the right way to fix. [Bump external/bpf_conformance from `78df87a` to `ab34094` by dependabot[bot] · Pull...
Currently the CI/CD pass runs tests on Linux, not Windows
https://github.com/Alan-Jowett/bpf_conformance/blob/8421a6b1ed772f7bf86c578534cf23e2d6697523/src/CMakeLists.txt#L22 I was just wondering whether you would be okay making CMake's inability to determine MSVC's version a fatal error? As I was configuring for Windows, it caught me out.
Hi, I happened to setup uBPF on two different VMs, both with a clean Ubuntu 20.04.06 LTS and the same clang version etc. For VM1 it gave me 100% tests...