mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Java: Use FlowSummaryImpl from dataflow pack
This commit is contained in:
@@ -1,15 +1,2 @@
|
||||
import java
|
||||
import semmle.code.java.dataflow.ExternalFlow
|
||||
import semmle.code.java.dataflow.internal.AccessPathSyntax
|
||||
import ModelValidation
|
||||
|
||||
private predicate getRelevantAccessPath(string path) {
|
||||
summaryModel(_, _, _, _, _, _, path, _, _, _) or
|
||||
summaryModel(_, _, _, _, _, _, _, path, _, _) or
|
||||
sinkModel(_, _, _, _, _, _, path, _, _) or
|
||||
sourceModel(_, _, _, _, _, _, path, _, _)
|
||||
}
|
||||
|
||||
private class AccessPathsExternal extends AccessPath::Range {
|
||||
AccessPathsExternal() { getRelevantAccessPath(this) }
|
||||
}
|
||||
import semmle.code.java.dataflow.ExternalFlow::ModelValidation
|
||||
|
||||
Reference in New Issue
Block a user