Revert change to argument handling

This commit is contained in:
Joe Farebrother
2021-09-14 17:55:08 +01:00
parent 6a2346ec33
commit c3d1165c5f

View File

@@ -55,7 +55,7 @@ private predicate isEmptyArrayArg(Expr ex) {
*/
private predicate isSensitiveBroadcastSink(DataFlow::Node sink) {
exists(SendBroadcastMethodAccess ma, string name | ma.getMethod().hasName(name) |
sink.asExpr() = ma.getArgument(0) and
sink.asExpr() = ma.getAnArgument() and
(
name = "sendBroadcast" and
(