cwi-swat / cwi-swat/php-analysis

Def/Use analysis should be array-sensitive

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.