mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
JavaScript: Add TaintKind as an alias to FlowLabel.
This commit is contained in:
@@ -220,6 +220,13 @@ abstract class FlowLabel extends string {
|
||||
bindingset[this] FlowLabel() { any() }
|
||||
}
|
||||
|
||||
/**
|
||||
* A kind of taint tracked by a taint-tracking configuration.
|
||||
*
|
||||
* This is an alias of `FlowLabel`, so the two types can be used interchangeably.
|
||||
*/
|
||||
class TaintKind = FlowLabel;
|
||||
|
||||
/**
|
||||
* A standard flow label, that is, either `FlowLabel::data()` or `FlowLabel::taint()`.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user