Add predicate defaultTaintSanitizerGuard for each language

This was done manually, as these files are not synced by sync-files.py.
This commit is contained in:
Owen Mansel-Chan
2022-01-12 14:44:32 +00:00
parent c112980b81
commit 8e8278764b
5 changed files with 30 additions and 0 deletions

View File

@@ -10,6 +10,12 @@ private import FlowSummaryImpl as FlowSummaryImpl
*/
predicate defaultTaintSanitizer(DataFlow::Node node) { none() }
/**
* Holds if `guard` should be a sanitizer guard in all global taint flow configurations
* but not in local taint.
*/
predicate defaultTaintSanitizerGuard(DataFlow::BarrierGuard guard) { none() }
/**
* Holds if default `TaintTracking::Configuration`s should allow implicit reads
* of `c` at sinks and inputs to additional taint steps.