-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verify that prevail is consistent with bpf2c and ubpf behavior #1451
Comments
vbpf/ebpf-verifier#400 and vbpf/ebpf-verifier#401 add tests to do this |
@dthaler Can we go ahead and close this now? |
No, this is not done yet. There are a series of PRs in the verifier repo, some merged, some to be posted still. |
This is blocked on two issues:
|
#1665 documents the findings. |
Fixes microsoft#1451 Signed-off-by: Dave Thaler <[email protected]>
This is now blocked on issue #1667 |
Fixes microsoft#1451 Signed-off-by: Dave Thaler <[email protected]>
Fixes microsoft#1451 Signed-off-by: Dave Thaler <[email protected]>
Fixes microsoft#1451 Signed-off-by: Dave Thaler <[email protected]>
This is now blocked on vbpf/ebpf-verifier#441 |
Fixes microsoft#1451 Fixes microsoft#1756 Signed-off-by: Dave Thaler <[email protected]>
Fixes microsoft#1451 Fixes microsoft#1756 Signed-off-by: Dave Thaler <[email protected]>
* Update verifier to latest Fixes #1451 Fixes #1756 Signed-off-by: Dave Thaler <[email protected]> * Update samples to work around verifier limitation Signed-off-by: Dave Thaler <[email protected]> * Update expected bpf2c output Signed-off-by: Dave Thaler <[email protected]> * Fix cmake build Signed-off-by: Dave Thaler <[email protected]> --------- Signed-off-by: Dave Thaler <[email protected]>
Describe the feature you'd like supported
https://github.com/Alan-Jowett/bpf_conformance has a runtime-agnostic conformance suite.
Prevail computes invariants when verifying a program, and so should be able to compute the results expected by the suite.
Proposed solution
This can be done in the prevail repository but since ebpf-for-windows depends on having ubpf and bpf2c compute the same answers as the verifier expects, we should use a common test suite to ensure consistency independent of ebpf-for-windows.
This issue thus tracks the dependency, but the only work in ebpf-for-windows for this issue should be to update to a future version of dependencies once the work is done in the dependency.
Additional context
No response
The text was updated successfully, but these errors were encountered: