microsoft / microsoft/ebpf-for-windows

Netebpfext fuzzer should fuzz all 4 bind and bind release operations

Open
#5,299 1 comment 0 reactions 1 assignee Assigned to @kumarvin123 View on GitHub
enhancement P3 triaged
Dominant language
C
Stars
3.6k
Forks
311
Avg merge
6d 10h
Merged PRs (30d)
21

Description

### Describe the feature you'd like supported

Right now only `test_bind_ipv4` is tested in `tests/libfuzzer/netebpfext_fuzzer/libfuzz_harness.cpp`. We should have tests for all 4 operations:
- test_bind_ipv4
- test_bind_ipv6
- test_bind_release_ipv4
- test_bind_release_ipv6

### Proposed solution

Add the missing 3 mock/test functions to usersim, and add the tests to the netebpfext fuzzer.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.