Skip to content

Commit 647a3d3

Browse files
committed
JS: Add note and debugging and exploration
1 parent ffeda7f commit 647a3d3

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

javascript/ql/src/semmle/javascript/dataflow/BackwardExploration.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
*
99
* Data-flow exploration cannot be used with configurations depending on other configurations.
1010
*
11-
* NOTE: This library should only be used for debugging, not in production code. Backward
12-
* exploration in particular does not scale on non-trivial code bases and hence is of limited
11+
* NOTE: This library should only be used for debugging and exploration, not in production code.
12+
* Backward exploration in particular does not scale on non-trivial code bases and hence is of limited
1313
* usefulness as it stands.
1414
*/
1515

javascript/ql/src/semmle/javascript/dataflow/ForwardExploration.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* Data-flow exploration cannot be used with configurations depending on other configurations.
1010
*
11-
* NOTE: This library should only be used for debugging, not in production code.
11+
* NOTE: This library should only be used for debugging and exploration, not in production code.
1212
*/
1313

1414
import javascript

javascript/ql/src/semmle/javascript/explore/CallGraph.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
* and function.getName() = "targetFunction"
1919
* select invoke, invoke, function, "Call path to 'targetFunction'"
2020
* ```
21+
*
22+
* NOTE: This library should only be used for debugging and exploration, not in production code.
2123
*/
2224
import javascript
2325
private import DataFlow

0 commit comments

Comments
 (0)