WebAssembly / WebAssembly/wabt
Adding some validation of custom sections (e.g. linking section)
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 8.1k
- Forks
- 827
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 18
Description
wabt currently knows how to parse some custom sections, such as the linking section which are outside of the core spec.
I'd like to add some amount of validation there but its not clear where best to do this. Presumably not in ReadBinaryIr? Would it make sense to add this to ValidateModule? (disabled with the existing --ignore-custom-section-errors option)
Contributor guide
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
Start by comparing the roles of ReadBinaryIr and ValidateModule, which the issue identifies as possible locations for custom-section validation. Define the validation scope for parsed custom sections such as the linking section, and ensure the existing --ignore-custom-section-errors option remains part of the decision about what counts as done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, wasm
- Domain
- compilers, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100