forked from github/codeql
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtests.ql
More file actions
21 lines (12 loc) · 786 Bytes
/
Copy pathtests.ql
File metadata and controls
21 lines (12 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import javascript
query predicate punycode(DataFlow::Node n) { n = punycode::punycodeMember(_) }
query predicate querydashstring(DataFlow::Node n) { n = querydashstring::querydashstringMember(_) }
query predicate querystring(DataFlow::Node n) { n = querystring::querystringMember(_) }
query predicate querystringify(DataFlow::Node n) { n = querystringify::querystringifyMember(_) }
query predicate uridashjs(DataFlow::Node n) { n = uridashjs::uridashjsMember(_) }
query predicate urijs(DataFlow::Node n) { n = urijs::urijs() }
query predicate uriLibraryStep(DataFlow::Node pred, DataFlow::Node succ) {
TaintTracking::uriStep(pred, succ)
}
query predicate url(DataFlow::Node n) { n = url::urlMember(_) }
query predicate urlParse(DataFlow::Node n) { n = urlParse::urlParse() }