mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Update javascript/ql/lib/semmle/javascript/dataflow/DataFlow.qll
Co-authored-by: Asger F <asgerf@github.com>
This commit is contained in:
committed by
GitHub
parent
d261cec3cd
commit
6377e92067
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user