mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
Python: Move BarrierGuards to own file
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import experimental.dataflow.tainttracking.TestTaintLib
|
||||
import semmle.python.dataflow.new.BarrierGuards
|
||||
|
||||
class CustomSanitizerOverrides extends TestTaintTrackingConfiguration {
|
||||
override predicate isSanitizerGuard(DataFlow::BarrierGuard guard) {
|
||||
guard instanceof DataFlow::BarrierGuard::StringConstCompare
|
||||
guard instanceof StringConstCompare
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user