@@ -24,22 +24,10 @@ module CorsPermissiveConfiguration {
2424 or
2525 this = TWildcard ( ) and result = "wildcard"
2626 }
27-
28- /** DEPRECATED: Converts this flow state to a flow label. */
29- deprecated DataFlow:: FlowLabel toFlowLabel ( ) {
30- this = TTaint ( ) and result .isTaint ( )
31- or
32- this = TTrueOrNull ( ) and result instanceof TrueAndNull
33- or
34- this = TWildcard ( ) and result instanceof Wildcard
35- }
3627 }
3728
3829 /** Predicates for working with flow states. */
3930 module FlowState {
40- /** DEPRECATED: Gets a flow state from a flow label. */
41- deprecated FlowState fromFlowLabel ( DataFlow:: FlowLabel label ) { result .toFlowLabel ( ) = label }
42-
4331 /** A tainted value. */
4432 FlowState taint ( ) { result = TTaint ( ) }
4533
@@ -65,34 +53,13 @@ module CorsPermissiveConfiguration {
6553 */
6654 abstract class Sanitizer extends DataFlow:: Node { }
6755
68- /**
69- * DEPRECATED: Use `ActiveThreatModelSource` from Concepts instead!
70- */
71- deprecated class RemoteFlowSourceAsSource = ActiveThreatModelSourceAsSource ;
72-
7356 /**
7457 * An active threat-model source, considered as a flow source.
7558 */
7659 private class ActiveThreatModelSourceAsSource extends Source instanceof ActiveThreatModelSource {
7760 ActiveThreatModelSourceAsSource ( ) { not this instanceof ClientSideRemoteFlowSource }
7861 }
7962
80- /** A flow label representing `true` and `null` values. */
81- abstract deprecated class TrueAndNull extends DataFlow:: FlowLabel {
82- TrueAndNull ( ) { this = "TrueAndNull" }
83- }
84-
85- /** DEPRECATED: Gets a flow label representing `true` and `null` values. */
86- deprecated TrueAndNull truenullLabel ( ) { any ( ) }
87-
88- /** A flow label representing `*` value. */
89- abstract deprecated class Wildcard extends DataFlow:: FlowLabel {
90- Wildcard ( ) { this = "Wildcard" }
91- }
92-
93- /** DEPRECATED: Gets a flow label representing `*` value. */
94- deprecated Wildcard wildcardLabel ( ) { any ( ) }
95-
9663 /** An overly permissive value for `origin` (Apollo) */
9764 class TrueNullValue extends Source {
9865 TrueNullValue ( ) { this .mayHaveBooleanValue ( true ) or this .asExpr ( ) instanceof NullLiteral }
0 commit comments