Skip to content

Commit 7531c41

Browse files
committed
JS: Add receivers to MkDef
1 parent 8815c92 commit 7531c41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

javascript/ql/lib/semmle/javascript/ApiGraphs.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,8 @@ module API {
759759
or
760760
nd = any(DataFlow::InvokeNode i).getASpreadArgument()
761761
or
762+
nd = any(DataFlow::CallNode c).getReceiver()
763+
or
762764
nd = DataFlow::valueNode(any(ExportNamedDeclaration decl).getOperand())
763765
or
764766
nd = DataFlow::valueNode(any(ExportDefaultDeclaration decl).getOperand())

0 commit comments

Comments
 (0)