From 4598ef5cb2c83c4eca97c9a3d4c9eb93aae81873 Mon Sep 17 00:00:00 2001 From: Xavier RENE-CORAIL Date: Wed, 16 Sep 2020 13:42:10 -0700 Subject: [PATCH] Update sources.ql --- sources.ql | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/sources.ql b/sources.ql index 8679055..8b13789 100644 --- a/sources.ql +++ b/sources.ql @@ -1,12 +1 @@ -import javascript -predicate isSource(DataFlow::Node source) { - exists(DataFlow::FunctionNode plugin | - plugin = jquery().getAPropertyRead("fn").getAPropertySource() and - source = plugin.getLastParameter() - ) -} - -from DataFlow::Node node -where isSource(node) -select node