Java/Cfg: Introduce new shared CFG library and replace the Java CFG.

This commit is contained in:
Anders Schack-Mulligen
2026-01-20 12:43:55 +01:00
parent 0c9931ff8a
commit 48e3724299
14 changed files with 2233 additions and 1864 deletions

View File

@@ -7,5 +7,5 @@ where
iDominates(dom1, node) and
iDominates(dom2, node) and
dom1 != dom2 and
func = node.getEnclosingStmt().getEnclosingCallable()
func = node.getEnclosingCallable()
select func, node, dom1, dom2

View File

@@ -1,5 +1,5 @@
import default
from ControlFlowNode n
where n.getEnclosingStmt().getCompilationUnit().fromSource()
where n.getEnclosingCallable().getCompilationUnit().fromSource()
select n, n.getASuccessor()