We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d784473 + b91a2cc commit daf953fCopy full SHA for daf953f
shared/mad/codeql/mad/modelgenerator/internal/ModelGeneratorImpl.qll
@@ -484,10 +484,14 @@ module MakeModelGenerator<
484
}
485
486
predicate isSink(DataFlow::Node sink, FlowState state) {
487
+ // Sinks are provided by `isSink/1`
488
+ none()
489
+ }
490
+
491
+ predicate isSink(DataFlow::Node sink) {
492
sink instanceof ReturnNodeExt and
493
not isOwnInstanceAccessNode(sink) and
- not exists(captureQualifierFlow(getAsExprEnclosingCallable(sink))) and
- (state instanceof TaintRead or state instanceof TaintStore)
494
+ not exists(captureQualifierFlow(getAsExprEnclosingCallable(sink)))
495
496
497
predicate isAdditionalFlowStep(
0 commit comments