mirror of
https://github.com/github/codeql.git
synced 2026-03-31 04:38:18 +02:00
Java/Cfg: Introduce new shared CFG library and replace the Java CFG.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import default
|
||||
|
||||
from ControlFlowNode n
|
||||
where n.getEnclosingStmt().getCompilationUnit().fromSource()
|
||||
where n.getEnclosingCallable().getCompilationUnit().fromSource()
|
||||
select n, n.getASuccessor()
|
||||
|
||||
Reference in New Issue
Block a user