Skip to content

Commit d2daab9

Browse files
committed
Only show inputs in path summaries
1 parent 7cd9109 commit d2daab9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/ql/lib/semmle/go/dataflow/internal/DataFlowPrivate.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,9 @@ class CastNode extends ExprNode {
233233
* explanations.
234234
*/
235235
predicate neverSkipInPathGraph(Node n) {
236-
exists(DataFlow::FunctionModel fm | fm.getAnInputNode(_) = n or fm.getAnOutputNode(_) = n)
236+
exists(DataFlow::FunctionModel fm | fm.getAnInputNode(_) = n)
237237
or
238-
exists(TaintTracking::FunctionModel fm | fm.getAnInputNode(_) = n or fm.getAnOutputNode(_) = n)
238+
exists(TaintTracking::FunctionModel fm | fm.getAnInputNode(_) = n)
239239
}
240240

241241
class DataFlowExpr = Expr;

0 commit comments

Comments
 (0)