File tree Expand file tree Collapse file tree 2 files changed +2
-20
lines changed
swift/ql/lib/codeql/swift/dataflow/internal Expand file tree Collapse file tree 2 files changed +2
-20
lines changed Original file line number Diff line number Diff line change @@ -153,22 +153,10 @@ class ContentSet extends Content {
153
153
}
154
154
155
155
/**
156
- * A guard that validates some expression.
157
- *
158
- * To use this in a configuration, extend the class and provide a
159
- * characteristic predicate precisely specifying the guard, and override
160
- * `checks` to specify what is being validated and in which branch.
161
- *
162
- * It is important that all extending classes in scope are disjoint.
156
+ * DEPRECATED: Do not use.
163
157
*/
164
- abstract class BarrierGuard extends DataFlowExpr {
158
+ abstract deprecated class BarrierGuard extends DataFlowExpr {
165
159
BarrierGuard ( ) { none ( ) }
166
160
167
- /** Holds if this guard controls block `b` upon evaluating to `branch`. */
168
- private predicate controlsBlock ( BasicBlock bb , boolean branch ) { none ( ) }
169
-
170
- /** Holds if this guard validates `expr` upon evaluating to `branch`. */
171
- abstract predicate checks ( ControlFlowNode expr , boolean branch ) ;
172
-
173
161
final Node getAGuardedNode ( ) { none ( ) }
174
162
}
Original file line number Diff line number Diff line change @@ -9,12 +9,6 @@ private import codeql.swift.dataflow.DataFlow
9
9
*/
10
10
predicate defaultTaintSanitizer ( DataFlow:: Node node ) { none ( ) }
11
11
12
- /**
13
- * Holds if `guard` should be a sanitizer guard in all global taint flow configurations
14
- * but not in local taint.
15
- */
16
- predicate defaultTaintSanitizerGuard ( DataFlow:: BarrierGuard guard ) { none ( ) }
17
-
18
12
cached
19
13
private module Cached {
20
14
/**
You can’t perform that action at this time.
0 commit comments