mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
use some Sanitizer classes that were unused in the query code
This commit is contained in:
@@ -23,6 +23,11 @@ module ResourceExhaustion {
|
||||
|
||||
override predicate isSink(DataFlow::Node sink) { sink instanceof Sink }
|
||||
|
||||
override predicate isSanitizer(DataFlow::Node node) {
|
||||
super.isSanitizer(node) or
|
||||
node instanceof Sanitizer
|
||||
}
|
||||
|
||||
override predicate isAdditionalTaintStep(DataFlow::Node src, DataFlow::Node dst) {
|
||||
isNumericFlowStep(src, dst)
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user