Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 060862a commit 6b2460dCopy full SHA for 6b2460d
1 file changed
java/ql/src/utils/model-generator/CaptureSinkModels.ql
@@ -15,7 +15,9 @@ class PropagateToSinkConfiguration extends TaintTracking::Configuration {
15
PropagateToSinkConfiguration() { this = "parameters on public api flowing into sinks" }
16
17
override predicate isSource(DataFlow::Node source) {
18
- source instanceof DataFlow::ParameterNode and source.asParameter().getCallable().isPublic() and source.asParameter().getCallable().getDeclaringType().isPublic()
+ source instanceof DataFlow::ParameterNode and
19
+ source.asParameter().getCallable().isPublic() and
20
+ source.asParameter().getCallable().getDeclaringType().isPublic()
21
}
22
23
override predicate isSink(DataFlow::Node sink) { sinkNode(sink, _) }
0 commit comments