Skip to content

Commit

Permalink
Update ArrayInPlaceManipulationTaintStep documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Napalys authored Nov 11, 2024
1 parent ae57c12 commit 38d3e37
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions javascript/ql/lib/semmle/javascript/Arrays.qll
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,10 @@ private module ArrayLibraries {
}
}

/**
* A taint propagating data flow edge arising from in-place array manipulation operations.
*/
/**
* A taint propagating data flow edge arising from in-place array manipulation operations.
* The methods return the pointer to `this` array as well.
*/
private class ArrayInPlaceManipulationTaintStep extends TaintTracking::SharedTaintStep {
override predicate heapStep(DataFlow::Node pred, DataFlow::Node succ) {
exists(DataFlow::MethodCallNode call |
Expand Down

0 comments on commit 38d3e37

Please sign in to comment.