mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
Formatting
This commit is contained in:
@@ -15,7 +15,9 @@ class PropagateToSinkConfiguration extends TaintTracking::Configuration {
|
||||
PropagateToSinkConfiguration() { this = "parameters on public api flowing into sinks" }
|
||||
|
||||
override predicate isSource(DataFlow::Node source) {
|
||||
source instanceof DataFlow::ParameterNode and source.asParameter().getCallable().isPublic() and source.asParameter().getCallable().getDeclaringType().isPublic()
|
||||
source instanceof DataFlow::ParameterNode and
|
||||
source.asParameter().getCallable().isPublic() and
|
||||
source.asParameter().getCallable().getDeclaringType().isPublic()
|
||||
}
|
||||
|
||||
override predicate isSink(DataFlow::Node sink) { sinkNode(sink, _) }
|
||||
|
||||
Reference in New Issue
Block a user