cwi-swat / cwi-swat/php-analysis
Add closure support for CFG construction
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rascal
- Stars
- 28
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
The current control-flow graph construction algorithm does not yet properly handle control flow in closures. This needs to be added, especially now that more systems are starting to use them.
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
Start by locating the control-flow graph construction algorithm and reviewing how it currently handles function bodies and other control-flow boundaries. Identify the existing closure-related cases and tests, then define coverage for closure control flow so the CFG represents those paths correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100