cwi-swat / cwi-swat/php-analysis
Def/Use analysis should be array-sensitive
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 def/use analysis treats all indexes in an array as referring to the same object in memory. This should be modified -- potentially as an option to the algorithm -- to allow different indexes into the array to be distinguished when possible.
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 def/use analysis implementation and trace how array indexes are represented and compared. Determine where array-sensitive behavior could be configured, then add coverage showing that distinct indexes can be distinguished when possible.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100