Dataflow: defaultTaintBarrier => defaultTaintSanitizer

Just keeping things a bit more consistent :)
This commit is contained in:
Rasmus Wriedt Larsen
2020-09-09 14:11:56 +02:00
parent a1cec12377
commit d90f0be2c4
17 changed files with 22 additions and 22 deletions

View File

@@ -4,10 +4,10 @@ private import experimental.dataflow.internal.DataFlowPrivate
private import experimental.dataflow.internal.TaintTrackingPublic
/**
* Holds if `node` should be a barrier in all global taint flow configurations
* Holds if `node` should be a sanitizer in all global taint flow configurations
* but not in local taint.
*/
predicate defaultTaintBarrier(DataFlow::Node node) { none() }
predicate defaultTaintSanitizer(DataFlow::Node node) { none() }
/**
* Holds if the additional step from `nodeFrom` to `nodeTo` should be included in all

View File

@@ -76,7 +76,7 @@ abstract class Configuration extends DataFlow::Configuration {
final override predicate isBarrier(DataFlow::Node node) {
isSanitizer(node) or
defaultTaintBarrier(node)
defaultTaintSanitizer(node)
}
/** Holds if data flow into `node` is prohibited. */