Skip to content

Commit 1de7460

Browse files
RasmusWLhvitved
authored andcommitted
Python: Don't warn on multipleArgumentCall
1 parent c9910f5 commit 1de7460

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImplConsistency.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ private module Input implements InputSig<PythonDataFlow> {
4747
predicate identityLocalStepExclude(Node n) {
4848
not exists(n.getLocation().getFile().getRelativePath())
4949
}
50+
51+
predicate multipleArgumentCallExclude(ArgumentNode arg, DataFlowCall call) {
52+
isArgumentNode(arg, call, _)
53+
}
5054
}
5155

5256
module Consistency = MakeConsistency<PythonDataFlow, PythonTaintTracking, Input>;

0 commit comments

Comments
 (0)