microsoft / microsoft/ebpf-for-windows
ebpf_hash_table should initialize ebpf_random if needed
Open
cleanup
good first issue
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
Currently, use of ebpf_hash_table requires ebpf_random to be initialized.
### Proposed solution
ebpf_hash_table should check if random has been initialized and then initialize it if not.
### Additional context
_No response_
Contributor guide
Research direction
Start by locating the ebpf_hash_table implementation and the initialization path for ebpf_random. Confirm how callers currently depend on prior random initialization, then make the table operation initialize randomness when needed and verify that both initialized and uninitialized cases behave correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100