microsoft / microsoft/ebpf-for-windows
scripts\format-code.ps1 incorrectly formats bpf2c generated code
Open
cleanup
help wanted
triaged
- Dominant language
- C
- Stars
- 3.6k
- Forks
- 311
- Avg merge
- 6d 10h
- Merged PRs (30d)
- 21
Description
The code emitted by bpf2c is correct as per the coding standards, but scripts\format-code.ps1 incorrectly introduces extra indents.
Contributor guide
Research direction
Start with scripts\format-code.ps1 and reproduce its formatting on code emitted by bpf2c. Compare the result with the coding standards and confirm that the formatter no longer introduces extra indents while preserving the generated code's existing formatting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, powershell
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100