mirror of
https://github.com/github/codeql.git
synced 2026-01-06 11:10:23 +01:00
16 lines
510 B
Plaintext
16 lines
510 B
Plaintext
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) }
|
|
}
|