Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update javascript/ql/lib/semmle/javascript/dataflow/DataFlow.qll
Co-authored-by: Asger F <asgerf@github.com>
  • Loading branch information
erik-krogh and asgerf authored Oct 11, 2023
commit 6377e920671d09276f48a6b79db8a04c73e28888
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down