mirror of
https://github.com/github/codeql.git
synced 2026-04-23 15:55:18 +02:00
JS: Preserve reflective calls in getAMethodCall
This commit is contained in:
@@ -245,7 +245,7 @@ private module Cached {
|
||||
*/
|
||||
cached
|
||||
predicate isSyntacticMethodCall(DataFlow::CallNode call) {
|
||||
call.asExpr().(CallExpr).getCallee().getUnderlyingReference() instanceof PropAccess
|
||||
call.getCalleeNode().asExpr().getUnderlyingReference() instanceof PropAccess
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user