Update javascript/ql/lib/semmle/javascript/dataflow/DataFlow.qll

Co-authored-by: Asger F <asgerf@github.com>
This commit is contained in:
Erik Krogh Kristensen
2023-10-11 09:52:48 +02:00
committed by GitHub
parent d261cec3cd
commit 6377e92067

View File

@@ -1293,7 +1293,7 @@ module DataFlow {
override DataFlow::Node getCalleeNode() { result = DataFlow::valueNode(astNode.getTag()) }
override DataFlow::Node getArgument(int i) {
// the first parameter send to the function is the string parts, which we don't model.
// the first argument sent to the function is the array of string parts, which we don't model.
// rank is 1-indexed, which is perfect here.
result =
DataFlow::valueNode(rank[i](Expr e, int index |