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 negative test program and test for xdp datasize check #3292

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

dv-msft
Copy link
Collaborator

@dv-msft dv-msft commented Feb 26, 2024

Description

This PR adds a known 'unsafe' ebpf program and a related unit test to verify xdp data size checks.

Testing

New ebpf program added and related test added to unit_tests.exe

Documentation

No documentation changes.

Installation

No installer impact.

Fixes #3255

@dv-msft dv-msft changed the title WiP - Add negative test program and test for xdp datasize check (DRAFT PR - NOT FOR REVIEW) WiP - Add negative test program and test for xdp datasize check Feb 26, 2024
@dv-msft dv-msft changed the title (DRAFT PR - NOT FOR REVIEW) WiP - Add negative test program and test for xdp datasize check Add negative test program and test for xdp datasize check Feb 26, 2024
@dthaler dthaler added this pull request to the merge queue Feb 26, 2024
Merged via the queue into microsoft:main with commit 12f73c3 Feb 26, 2024
75 checks passed
@dv-msft dv-msft deleted the 3255-xdp-negative-test branch March 8, 2024 18:38
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.

Add negative XDP test for https://github.com/vbpf/ebpf-verifier/issues/560
3 participants