Skip to content

Commit ab1947a

Browse files
committed
JS: Add comment explaining how to add new steps
1 parent c276406 commit ab1947a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,9 @@ module TaintTracking {
223223
* allows some data-flow configurations to opt in to specific kinds of taint steps.
224224
*/
225225
class SharedTaintStep extends Unit {
226+
// Each step relation in this class should have a cached version in the `Cached` module
227+
// and be included in the `sharedTaintStep` predicate.
228+
226229
/**
227230
* Holds if `pred` → `succ` should be considered a taint-propagating
228231
* data flow edge.

0 commit comments

Comments
 (0)