Skip to content

Devirtualize IFDS/IDE Tabulation Problem#851

Open
fabianbs96 wants to merge 43 commits into
secure-software-engineering:developmentfrom
fabianbs96:f-DevirtualizeIFDSIDETabulationProblem
Open

Devirtualize IFDS/IDE Tabulation Problem#851
fabianbs96 wants to merge 43 commits into
secure-software-engineering:developmentfrom
fabianbs96:f-DevirtualizeIFDSIDETabulationProblem

Conversation

@fabianbs96

@fabianbs96 fabianbs96 commented Jul 18, 2026

Copy link
Copy Markdown
Member

Virtual polymorphism is not necessary for the IFDS/IDE analysis problems. The polymorphism is restricted anyway by the AnalysisDomainTy template param (every IDE problem has its own), and the virtual calls can prevent compiler optimizations in hot parts of the code.

This PR adds numerous concepts + some mixins to replace the virtual interfaces. Most important ones:

  • IFDSProblem, IDEProblem
  • IFDSProblemWrapper, IDEProblemWrapper, IfdsIdeProblemWrapper
  • IfdsToIdeProblemAdapter
  • IfdsIdeProblemMixin
  • legacy fallback: LegacyIDEProblemWrapper, used in the IDESolver; the IterativeIDESolver doesn't need this

Inheriting from a specific base class is now optional; Use IfdsIdeProblemMixin instead of IFDSTabulationProblem or IDETabulationProblem to reduce some boilerplate.

This PR additionally de-virtualizes all IFDS/IDE problem descriptions provided by phasar.

…te into IDESolver/IFDSSolver (Not testsed yet!)
@fabianbs96
fabianbs96 marked this pull request as ready for review July 18, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant