File tree Expand file tree Collapse file tree
java/ql/src/utils/model-generator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ private import semmle.code.java.dataflow.ExternalFlow
1212private import ModelGeneratorUtils
1313private import semmle.code.java.dataflow.internal.FlowSummaryImplSpecific
1414private import semmle.code.java.dataflow.internal.FlowSummaryImpl
15+ private import semmle.code.java.dataflow.internal.DataFlowImplCommon
1516
1617class FromSourceConfiguration extends TaintTracking:: Configuration {
1718 FromSourceConfiguration ( ) { this = "FromSourceConfiguration" }
@@ -20,6 +21,7 @@ class FromSourceConfiguration extends TaintTracking::Configuration {
2021
2122 override predicate isSink ( DataFlow:: Node sink ) {
2223 exists ( Callable c |
24+ sink instanceof ReturnNodeExt and
2325 sink .asExpr ( ) .getEnclosingCallable ( ) = c and
2426 c .isPublic ( ) and
2527 c .fromSource ( )
You can’t perform that action at this time.
0 commit comments