Skip to content

Commit 777d344

Browse files
committed
JS: Fix up qldoc for getAValueReachingSink
1 parent e2858b7 commit 777d344

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

javascript/ql/lib/semmle/javascript/ApiGraphs.qll

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,10 @@ module API {
207207
DataFlow::Node getASink() { Impl::rhs(this, result) }
208208

209209
/**
210-
* Gets a data-flow node that may interprocedurally flow to the right-hand side of a definition
211-
* of the API component represented by this node.
210+
* Get a data-flow node that transitively flows to an external library (or in general, any external codebase).
211+
*
212+
* This is similar to `getASink()` but additionally includes nodes that transitively reach a sink by data flow.
213+
* See `getASink()` for examples.
212214
*/
213215
DataFlow::Node getAValueReachingSink() { result = Impl::trackDefNode(this.getASink()) }
214216

0 commit comments

Comments
 (0)