Skip to content
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

Add conformance test for callx instruction #195

Merged
merged 1 commit into from
Feb 5, 2024
Merged

Add conformance test for callx instruction #195

merged 1 commit into from
Feb 5, 2024

Conversation

dthaler
Copy link
Collaborator

@dthaler dthaler commented Feb 5, 2024

"callx" instructions are generated by both clang (under -O0 or -O1) and gcc (if the
experimental -mxbpf option is passed to the compiler), but are not supported by Linux.

Per mailing list discussion at
https://mailarchive.ietf.org/arch/msg/bpf/CDQjTO8R8gdPdfeKVnoxWco8_Lw/ the intent is for the Linux verifier to support them eventually. vbpf/ebpf-verifier#584 adds support to PREVAIL so that dependent projects like ebpf-for-windows can use them.

@coveralls
Copy link

Coverage Status

coverage: 95.829% (+0.02%) from 95.806%
when pulling 2c41683 on callx
into 583758e on main.

@Alan-Jowett Alan-Jowett merged commit 3268a48 into main Feb 5, 2024
18 checks passed
@Alan-Jowett Alan-Jowett deleted the callx branch February 5, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants