Skip to content

Add dependency analysis features#910

Open
AndreaKe wants to merge 15 commits into
masterfrom
keuscha/dependency_analysis_refactoring
Open

Add dependency analysis features#910
AndreaKe wants to merge 15 commits into
masterfrom
keuscha/dependency_analysis_refactoring

Conversation

@AndreaKe

Copy link
Copy Markdown
Collaborator

Adds features required to support the verification dependency analysis. In particular, each AST node is associated with a dependency type and its source (stored in the info field).

@AndreaKe
AndreaKe requested a review from marcoeilers May 19, 2026 13:29
@AndreaKe AndreaKe self-assigned this May 19, 2026
@AndreaKe
AndreaKe force-pushed the keuscha/dependency_analysis_refactoring branch from 0f67b51 to e720345 Compare May 26, 2026 13:35

@marcoeilers marcoeilers left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment and one question, otherwise LGTM

Comment thread src/main/scala/viper/silver/dependencyAnalysis/AnalysisSourceInfo.scala Outdated
Comment thread src/main/scala/viper/silver/parser/Translator.scala Outdated
@AndreaKe
AndreaKe force-pushed the keuscha/dependency_analysis_refactoring branch 2 times, most recently from b3e9343 to e769a34 Compare July 8, 2026 13:32
@AndreaKe
AndreaKe force-pushed the keuscha/dependency_analysis_refactoring branch from e769a34 to 7b55f01 Compare July 8, 2026 13:39
@AndreaKe
AndreaKe requested a review from marcoeilers July 8, 2026 14:03

@jcp19 jcp19 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I think there are ways to make the code more maintainable in the long run.

Also, I just glanced over src/main/scala/viper/silver/parser/Translator.scala, looks OK but I did not look at it very closely

Comment thread src/main/scala/viper/silver/dependencyAnalysis/AnalysisSourceInfo.scala Outdated
Comment thread src/main/scala/viper/silver/dependencyAnalysis/DependencyAnalysisInfo.scala Outdated
Comment thread src/main/scala/viper/silver/dependencyAnalysis/AnalysisSourceInfo.scala Outdated
Comment thread src/main/scala/viper/silver/dependencyAnalysis/DependencyAnalysisInfo.scala Outdated
Comment thread src/main/scala/viper/silver/dependencyAnalysis/DependencyType.scala Outdated
Comment thread src/main/scala/viper/silver/dependencyAnalysis/DependencyType.scala Outdated
Comment thread src/main/scala/viper/silver/dependencyAnalysis/DependencyType.scala Outdated
Comment thread src/main/scala/viper/silver/parser/Translator.scala Outdated

@jcp19 jcp19 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants