Python: Don't warn on multipleArgumentCall

This commit is contained in:
Rasmus Wriedt Larsen
2023-09-04 09:57:26 +02:00
committed by Tom Hvitved
parent c9910f5464
commit 1de7460aba

View File

@@ -47,6 +47,10 @@ private module Input implements InputSig<PythonDataFlow> {
predicate identityLocalStepExclude(Node n) { predicate identityLocalStepExclude(Node n) {
not exists(n.getLocation().getFile().getRelativePath()) not exists(n.getLocation().getFile().getRelativePath())
} }
predicate multipleArgumentCallExclude(ArgumentNode arg, DataFlowCall call) {
isArgumentNode(arg, call, _)
}
} }
module Consistency = MakeConsistency<PythonDataFlow, PythonTaintTracking, Input>; module Consistency = MakeConsistency<PythonDataFlow, PythonTaintTracking, Input>;