We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4c98b4 commit b91a2ccCopy full SHA for b91a2cc
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