microsoft / microsoft/ebpf-for-windows

scripts\format-code.ps1 incorrectly formats bpf2c generated code

Open
#1,060 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.