Skip to content

Commit

Permalink
Update sources.ql
Browse files Browse the repository at this point in the history
  • Loading branch information
xcorail authored Sep 16, 2020
1 parent 72ad52c commit 4598ef5
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions sources.ql
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4598ef5

Please # to comment.