Check the segment name is valid
Open
Nobody has claimed this yet.
planned feature
- Dominant language
- Linker Script
- Stars
- 12
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Impose rules for valid segment names. Probably same rules as identifiers for C.
Maybe use regex? It would look like this [_a-zA-Z][_a-zA-Z0-9]* I think.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by locating where segment names are accepted or emitted, then compare validation with the proposed C-identifier pattern. Done means invalid names are rejected and valid names are accepted, with focused tests covering the rule.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100