Remove specified value step from additional taint step

This commit is contained in:
luchua-bc
2022-02-14 15:42:54 +00:00
parent 35a924292b
commit 2b5982fd9d

View File

@@ -28,10 +28,6 @@ class InjectFilePathConfig extends TaintTracking::Configuration {
not sink instanceof NormalizedPathNode
}
override predicate isAdditionalTaintStep(DataFlow::Node pred, DataFlow::Node succ) {
any(AdditionalValueStep r).step(pred, succ)
}
override predicate isSanitizer(DataFlow::Node node) {
exists(Type t | t = node.getType() | t instanceof BoxedType or t instanceof PrimitiveType)
}