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 7cd9109 commit d2daab9Copy full SHA for d2daab9
go/ql/lib/semmle/go/dataflow/internal/DataFlowPrivate.qll
@@ -233,9 +233,9 @@ class CastNode extends ExprNode {
233
* explanations.
234
*/
235
predicate neverSkipInPathGraph(Node n) {
236
- exists(DataFlow::FunctionModel fm | fm.getAnInputNode(_) = n or fm.getAnOutputNode(_) = n)
+ exists(DataFlow::FunctionModel fm | fm.getAnInputNode(_) = n)
237
or
238
- exists(TaintTracking::FunctionModel fm | fm.getAnInputNode(_) = n or fm.getAnOutputNode(_) = n)
+ exists(TaintTracking::FunctionModel fm | fm.getAnInputNode(_) = n)
239
}
240
241
class DataFlowExpr = Expr;
0 commit comments