-
Notifications
You must be signed in to change notification settings - Fork 44
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
Expose API to compare abstract state to concrete state #728
Comments
Additional context:
uBPF has been extended to have an option to invoke a debug callout prior to each BPF instruction. As part of the callout it provided a pointer to the stack and a pointer to all the register state. The idea is to use compare this state to the state maintained by the verifier to assert that uBPF is correctly implementing the instructions. |
Proposed API:
Call must first have called either ebpf_analyze_program_for_test or ebpf_verify_program with options->store_pre_invariants. |
Proposal:
Notes from discussion with @dthaler
The text was updated successfully, but these errors were encountered: