mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
use sanitizer class in the insecure-randomness query
This commit is contained in:
@@ -29,5 +29,7 @@ module InsecureRandomness {
|
||||
|
||||
/** Holds if `sink` is a sink for this configuration with kind `kind`. */
|
||||
predicate isSink(Sink sink, string kind) { kind = sink.getKind() }
|
||||
|
||||
override predicate isSanitizer(DataFlow::Node node) { node instanceof Sanitizer }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user