Skip to content

Commit 1ec3475

Browse files
committed
JS: All of TaintedPath
1 parent deb2173 commit 1ec3475

File tree

9 files changed

+1377
-58
lines changed

9 files changed

+1377
-58
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,12 @@ module FlowLabel {
242242
* source, but not necessarily directly derived from it.
243243
*/
244244
FlowLabel taint() { result = "taint" }
245+
246+
/**
247+
* Gets one of the two standard flow labels, `data` or `taint`, describing values that originate
248+
* from a flow source or are derived from a flow source.
249+
*/
250+
FlowLabel dataOrTaint() { result = data() or result = taint() }
245251
}
246252

247253
/**

0 commit comments

Comments
 (0)