From 62fb38d8343e75cd86ea949fd4c09dff274f367f Mon Sep 17 00:00:00 2001 From: Taus Date: Tue, 3 Feb 2026 15:32:46 +0000 Subject: [PATCH] Python: Rename `otherArgs` to `implicitArgumentNode` Co-authored-by: yoff --- .../semmle/python/dataflow/new/internal/DataFlowPublic.qll | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPublic.qll b/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPublic.qll index 532f7b23e4c..de26d988c06 100644 --- a/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPublic.qll +++ b/python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPublic.qll @@ -369,7 +369,7 @@ Node getCallArgApproximation() { } /** Gets the extracted argument nodes that do not rely on `getCallArg`. */ -private Node otherArgs() { +private Node implicitArgumentNode() { // for potential summaries we allow all normal call arguments normalCallArg(_, result, _) or @@ -387,14 +387,14 @@ class ExtractedArgumentNode extends ArgumentNode { ExtractedArgumentNode() { this = getCallArgApproximation() or - this = otherArgs() + this = implicitArgumentNode() } final override predicate argumentOf(DataFlowCall call, ArgumentPosition pos) { this = call.getArgument(pos) and call instanceof ExtractedDataFlowCall and ( - this = otherArgs() + this = implicitArgumentNode() or this = getCallArgApproximation() and getCallArg(_, _, _, this, _) )