mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
Use subclasses of context for sinks
This commit is contained in:
@@ -48,7 +48,7 @@ class SensitiveInfoExpr extends Expr {
|
||||
*/
|
||||
class SendBroadcastMethodAccess extends MethodAccess {
|
||||
SendBroadcastMethodAccess() {
|
||||
this.getMethod().getDeclaringType() instanceof TypeContext and
|
||||
this.getMethod().getDeclaringType().getASourceSupertype*() instanceof TypeContext and
|
||||
this.getMethod().getName().matches("send%Broadcast%")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user