@@ -131,15 +131,6 @@ abstract class TaintKind extends string {
131131 edgeLabel = "custom taint flow step for " + this
132132 }
133133
134- /**
135- * DEPRECATED -- Use `TaintFlow.additionalFlowStepVar(EssaVariable fromvar, EssaVariable tovar, TaintKind kind)` instead.
136- *
137- * Holds if this kind of taint passes from variable `fromvar` to variable `tovar`
138- * This predicate is present for completeness. It is unlikely that any `TaintKind`
139- * implementation will ever need to override it.
140- */
141- deprecated predicate additionalFlowStepVar ( EssaVariable fromvar , EssaVariable tovar ) { none ( ) }
142-
143134 /**
144135 * Holds if this kind of taint "taints" `expr`.
145136 */
@@ -358,41 +349,6 @@ abstract class Sanitizer extends string {
358349 predicate sanitizingDefinition ( TaintKind taint , EssaDefinition def ) { none ( ) }
359350}
360351
361- /**
362- * DEPRECATED -- Use DataFlowExtension instead.
363- * An extension to taint-flow. For adding library or framework specific flows.
364- * Examples include flow from a request to untrusted part of that request or
365- * from a socket to data from that socket.
366- */
367- abstract deprecated class TaintFlow extends string {
368- bindingset [ this ]
369- TaintFlow ( ) { any ( ) }
370-
371- /**
372- * Holds if `fromnode` being tainted with `fromkind` will result in `tonode` being tainted with `tokind`.
373- * Extensions to `TaintFlow` should override this to provide additional taint steps.
374- */
375- predicate additionalFlowStep (
376- ControlFlowNode fromnode , TaintKind fromkind , ControlFlowNode tonode , TaintKind tokind
377- ) {
378- none ( )
379- }
380-
381- /**
382- * Holds if the given `kind` of taint passes from variable `fromvar` to variable `tovar`.
383- * This predicate is present for completeness. Most `TaintFlow` implementations will not need to override it.
384- */
385- predicate additionalFlowStepVar ( EssaVariable fromvar , EssaVariable tovar , TaintKind kind ) {
386- none ( )
387- }
388-
389- /**
390- * Holds if the given `kind` of taint cannot pass from variable `fromvar` to variable `tovar`.
391- * This predicate is present for completeness. Most `TaintFlow` implementations will not need to override it.
392- */
393- predicate prunedFlowStepVar ( EssaVariable fromvar , EssaVariable tovar , TaintKind kind ) { none ( ) }
394- }
395-
396352/**
397353 * A source of taintedness.
398354 * Users of the taint tracking library should override this
0 commit comments